File tree 1 file changed +2
-3
lines changed
kotlinx-coroutines-test/src/internal
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
35
35
delegate.dispatch(context, block)
36
36
}
37
37
38
- @ExperimentalCoroutinesApi
39
38
override fun isDispatchNeeded (context : CoroutineContext ): Boolean = delegate.isDispatchNeeded(context)
40
39
41
40
override fun scheduleResumeAfterDelay (timeMillis : Long , continuation : CancellableContinuation <Unit >) {
@@ -50,11 +49,11 @@ internal class TestMainDispatcher(private val mainFactory: MainDispatcherFactory
50
49
return delay.invokeOnTimeout(timeMillis, block, context)
51
50
}
52
51
53
- public fun setDispatcher (dispatcher : CoroutineDispatcher ) {
52
+ fun setDispatcher (dispatcher : CoroutineDispatcher ) {
54
53
_delegate = dispatcher
55
54
}
56
55
57
- public fun resetDispatcher () {
56
+ fun resetDispatcher () {
58
57
_delegate = null
59
58
}
60
59
}
You can’t perform that action at this time.
0 commit comments