AwaitHost

interface AwaitHost

A host to manage the await state of a key.

See also

Inheritors

Types

Link copied to clipboard
object Noop : AwaitHost

A noop implementation of AwaitHost.

Properties

Link copied to clipboard
abstract val keys: Set<Any>

Returns the set of keys that are awaited.

Functions

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

Returns true if the key is awaited.

Link copied to clipboard
abstract fun remove(key: Any)

Removes the key from the awaited set.

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

Sets the key to be awaited or not.