IdlingDispatcherProvider

fun IdlingDispatcherProvider(delegate: DispatcherProvider = DefaultDispatcherProvider.get()): IdlingDispatcherProvider

IdlingDispatcherProvider factory function, which creates an instance using an existing DispatcherProvider.

See also

androidx.test.espresso.IdlingResource
kotlinx.coroutines.CoroutineDispatcher

Parameters

delegate

optional Use this DispatcherProvider to create a single IdlingDispatcher which is used as all properties for the IdlingDispatcherProvider. Uses DefaultDispatcherProvider.get if no instance provided.

Sources

Link copied to clipboard