CompletableDeferred

fun <T> CompletableDeferred(parent: Job? = null): CompletableDeferred<T>

Creates a CompletableDeferred in an active state. It is optionally a child of a parent job.


Creates an already completedCompletableDeferred with a given value.

Sources

Link copied to clipboard
Link copied to clipboard