androidx.ui.temputils

Top-level functions summary

Job
delay(duration: Duration, context: CoroutineContext, block: () -> Unit)

Run block after duration time passes using context.

Top-level functions

delay

fun delay(
    duration: Duration,
    context: CoroutineContext,
    block: () -> Unit
): Job

Run block after duration time passes using context.

Return
Job which is a reference to the running coroutine such that it can be cancelled via Job.cancel.