---
title: "SnapshotContextElement"
description: "A [CoroutineContext] element that [enters][Snapshot.enter] an associated snapshot whenever a
coroutine associated with this context is resumed."
type: "interface"
---

<div class='type'>Interface</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>



```kotlin
public interface SnapshotContextElement : CoroutineContext.Element
```


A `CoroutineContext` element that `enters` an associated snapshot whenever a
coroutine associated with this context is resumed.



