function withExecutor
source · line 184public
public suspend fun <T> withExecutor(executor: CoroutineExecutor, block: suspend CoroutineScope.() -> T): T
Runs a structured child scope on the selected executor and waits for all of its children.
type parameter T
source · line 184public
T
parameter executor
source · line 185public
executor: CoroutineExecutor
parameter block
source · line 186public
block: suspend CoroutineScope.() -> T