pauseDispatcherDeprecated
@ExperimentalCoroutinesApi
Content copied to clipboard
@ExperimentalCoroutinesApi
Content copied to clipboard
Pause the dispatcher. When paused, the dispatcher will not execute any coroutines automatically, and you must call runCurrentDeprecated or advanceTimeByDeprecated, or advanceUntilIdleDeprecated to execute coroutines.
Note: This function is intended only to support the transition period while we migrate to kotlinx-coroutines-test 1.6.x. The new API introduced in 1.6.x should be used instead.