async

suspend fun <T> async(block: suspend CoroutineScope.() -> T): T

Runs the block asynchronously.

Parameters

block

The block to execute.