toggle menu
Provider API Reference
androidJvm
switch theme
search in API
core-util
/
com.flixclusive.core.util.coroutines
/
AppDispatchers
/
Companion
/
withIOContext
with
IOContext
inline suspend
fun
<
T
>
withIOContext
(
crossinline
block
:
suspend
CoroutineScope
.
(
)
->
T
)
:
T
This uses withContext(
Dispatchers.IO
) for suspend functions.
Parameters
block
The suspend function to run.
See also
App
Dispatchers.
Companion.
runOnIO
App
Dispatchers.
Companion.
launchOnIO