set

fun set(mainDispatcher: CoroutineDispatcher, ioDispatcher: CoroutineDispatcher)

Overrides the main (UI thread) and IO dispatcher. For testing purposes only.