advanceUntilIdleDeprecated
@ExperimentalCoroutinesApi
Content copied to clipboard
Immediately execute all pending tasks and advance the virtual clock-time to the last delay. If new tasks are scheduled due to advancing virtual time, they will be executed beforek advanceUntilIdle returns. Returns the amount of delay-time that this Dispatcher's clock has been forwarded in milliseconds.
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.
@ExperimentalCoroutinesApi
Content copied to clipboard
Advances the testScheduler to the point where there are no tasks remaining.
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.