Skip to content

Commit

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

Co-authored-by: dkhalanskyjb <52952525+dkhalanskyjb@users.noreply.github.com>
  • Loading branch information
2 people authored and pablobaxter committed Sep 14, 2022
1 parent d57ee3d commit bced602
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 bced602

Please sign in to comment.