AnyAwaitable

sealed interface AnyAwaitable : Awaitable<Any>

Properties

Link copied to clipboard
abstract val onAwait: SelectClause<Any>

Clause for select operator.

Functions

Link copied to clipboard
abstract suspend fun await(): Any
Link copied to clipboard
abstract suspend fun awaitIndex(): Int

Same as Awaitable.await, but returns the index of the first completed element.