SuspenseState

State of the Suspense.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val isAwaited: StateFlow<Boolean>
Link copied to clipboard
open override val keys: Set<Any>

Returns the set of keys that are awaited.

Functions

Link copied to clipboard
open operator override fun get(key: Any): Boolean

Returns true if the key is awaited.

Link copied to clipboard
open override fun remove(key: Any)

Removes the key from the awaited set.

Link copied to clipboard
open operator override fun set(key: Any, isAwaited: Boolean)

Sets the key to be awaited or not.