IOCoroutineDispatcher

class IOCoroutineDispatcher : CoroutineDispatcher, Closeable

Deprecated: This is going to be deprecated. Use kotlinx.coroutines dispatchers

Default ktor fixed size dispatcher for doing non-blocking I/O operations and selection

Constructors

<init>

IOCoroutineDispatcher(nThreads: Int)

Default ktor fixed size dispatcher for doing non-blocking I/O operations and selection

Functions

close

fun close(): Unit

Gracefully shutdown dispatcher.

dispatch

fun dispatch(context: <ERROR CLASS>, block: Runnable): Unit