-
- All Implemented Interfaces:
-
kotlin.coroutines.ContinuationInterceptor,kotlin.coroutines.CoroutineContext,kotlin.coroutines.CoroutineContext.Element
public final class IdlingCoroutineDispatcher extends CoroutineDispatcherA CoroutineDispatcher wrapper which integrates with Espresso Idling Resources.
-
-
Field Summary
Fields Modifier and Type Field Description private final CoroutineContext.Key<?>key
-
Constructor Summary
Constructors Constructor Description IdlingCoroutineDispatcher(String resourceName, CoroutineDispatcher dispatcher)
-
Method Summary
Modifier and Type Method Description Unitdispatch(CoroutineContext context, Runnable block)CoroutineContext.Key<?>getKey()-
Methods inherited from class dev.specto.android.testing.shared.IdlingCoroutineDispatcher
dispatchYield, interceptContinuation, isDispatchNeeded, plus, releaseInterceptedContinuation, toString -
Methods inherited from class kotlin.coroutines.CoroutineContext
equals, hashCode -
Methods inherited from class kotlin.coroutines.AbstractCoroutineContextElement
fold, get, minusKey -
Methods inherited from class kotlin.coroutines.CoroutineContext.Element
plus -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
IdlingCoroutineDispatcher
IdlingCoroutineDispatcher(String resourceName, CoroutineDispatcher dispatcher)
-
-
Method Detail
-
dispatch
Unit dispatch(CoroutineContext context, Runnable block)
-
getKey
CoroutineContext.Key<?> getKey()
-
-
-
-