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。