DispatcherProvider

fun DispatcherProvider(): DispatcherProvider
fun DispatcherProvider(default: CoroutineDispatcher, io: CoroutineDispatcher, main: CoroutineDispatcher, mainImmediate: CoroutineDispatcher, unconfined: CoroutineDispatcher): DispatcherProvider

Default implementation of DispatcherProvider which simply delegates to the corresponding properties in the Dispatchers singleton.

This should be suitable for most production code.

See also