File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
kotlinx-coroutines-test/src/internal Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ internal class TestMainDispatcher(private val mainFactory: MainDispatcherFactory
3535 delegate.dispatch(context, block)
3636 }
3737
38- @ExperimentalCoroutinesApi
3938 override fun isDispatchNeeded (context : CoroutineContext ): Boolean = delegate.isDispatchNeeded(context)
4039
4140 override fun scheduleResumeAfterDelay (timeMillis : Long , continuation : CancellableContinuation <Unit >) {
@@ -50,11 +49,11 @@ internal class TestMainDispatcher(private val mainFactory: MainDispatcherFactory
5049 return delay.invokeOnTimeout(timeMillis, block, context)
5150 }
5251
53- public fun setDispatcher (dispatcher : CoroutineDispatcher ) {
52+ fun setDispatcher (dispatcher : CoroutineDispatcher ) {
5453 _delegate = dispatcher
5554 }
5655
57- public fun resetDispatcher () {
56+ fun resetDispatcher () {
5857 _delegate = null
5958 }
6059}
You can’t perform that action at this time.
0 commit comments