Skip to content

Commit

Permalink
Add references to available implementations in TestDispatcher docs (#…
Browse files Browse the repository at this point in the history
…3200)

Co-authored-by: dkhalanskyjb <52952525+dkhalanskyjb@users.noreply.github.com>
  • Loading branch information
zsmb13 and dkhalanskyjb committed Mar 17, 2022
1 parent 584b3c4 commit 0d26d6c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions kotlinx-coroutines-test/common/src/TestDispatcher.kt
Expand Up @@ -10,6 +10,11 @@ import kotlin.jvm.*

/**
* A test dispatcher that can interface with a [TestCoroutineScheduler].
*
* The available implementations are:
* * [StandardTestDispatcher] is a dispatcher that places new tasks into a queue.
* * [UnconfinedTestDispatcher] is a dispatcher that behaves like [Dispatchers.Unconfined] while allowing to control
* the virtual time.
*/
@ExperimentalCoroutinesApi
public abstract class TestDispatcher internal constructor(): CoroutineDispatcher(), Delay {
Expand Down

0 comments on commit 0d26d6c

Please sign in to comment.