IdlingDispatcher
class IdlingDispatcher(delegate: CoroutineDispatcher) : CoroutineDispatcher
Content copied to clipboard
IdlingResource helper for coroutines. This class simply wraps a delegate CoroutineDispatcher and keeps a running count of all coroutines it creates, decrementing the count when they complete.
See also
androidx.test.espresso.IdlingResource
kotlinx.coroutines.CoroutineDispatcher
Constructors
Functions
Link copied to clipboard
Counting implementation of the dispatch function.
Link copied to clipboard
Link copied to clipboard
open operator override fun <E : CoroutineContext.Element> get(key: CoroutineContext.Key<E>): E?
Content copied to clipboard
Link copied to clipboard
override fun <T> interceptContinuation(continuation: Continuation<T>): Continuation<T>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun minusKey(key: CoroutineContext.Key<*>): CoroutineContext
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun releaseInterceptedContinuation(continuation: Continuation<*>)
Content copied to clipboard