DeferredAction

constructor(deferred: Deferred<T>, callback: suspend (T) -> O)(source)

Parameters

deferred

The deferred value to await

callback

The suspending function to apply to the deferred value

Type Parameters

T

The type of the deferred value

O

The type of the result after applying the callback