Deferred

class Deferred<T>(source)

A typed result of cooperative work. Repeated awaits retain the same value or task exception.

Functions

Link copied to clipboard
fun await(): T

Blocks only the calling task. Other tasks continue while this result is pending.