Skip to content

//reactivestate-core-test/com.ensody.reactivestate.test/TestDispatcherConfig

TestDispatcherConfig

[common]\ class TestDispatcherConfig(val dispatcher: TestDispatcher) : CoroutineDispatcherConfig

A CoroutineDispatcherConfig for unit tests - dispatching everything to the given dispatcher.

Constructors

TestDispatcherConfig [common]
constructor(dispatcher: TestDispatcher)

Properties

Name Summary
default [common]
open override val default: TestDispatcher
dispatcher [common]
val dispatcher: TestDispatcher
io [common]
open override val io: TestDispatcher
main [common]
open override val main: TestDispatcher
unconfined [common]
open override val unconfined: TestDispatcher