mirror of
https://github.com/mamoe/mirai.git
synced 2025-04-25 13:03:35 +08:00
Implement runBIO
This commit is contained in:
parent
eca484feb0
commit
3db5e7bf8c
@ -14,7 +14,7 @@ actual suspend inline fun <R> runBIO(noinline block: () -> R): R {
|
||||
}
|
||||
|
||||
actual suspend inline fun <T, R> T.runBIO(crossinline block: T.() -> R): R {
|
||||
TODO("Not yet implemented")
|
||||
return block()
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user