foregroundScope

CoroutineScope for tasks started by this test.

The test will only finish when all tasks started in this scope are finished.

To start a single coroutine, see launch.

Tasks started in this scope respect the controlled time.

See also