asReserve

fun <T> asReserve(scope: CoroutineScope? = null, context: CoroutineContext? = null, block: suspend () -> T): SuspendReserve<T>(source)

See also

fun <T> asReserve(scope: CoroutineScope? = null, context: CoroutineContext? = null, block: suspend () -> T): SuspendReserve<T>(source)

block 包装为 SuspendReserve. scope 如果为 null 则会使用 GlobalScope

See also