Dispatcher

expect class Dispatcher(source)
actual class Dispatcher(source)
actual class Dispatcher : MainCoroutineDispatcher, Delay(source)

Constructors

Link copied to clipboard
expect constructor()
constructor()
constructor()

Properties

Link copied to clipboard
open override val immediate: MainCoroutineDispatcher
Link copied to clipboard
open override val key: CoroutineContext.Key<*>
Link copied to clipboard

Functions

Link copied to clipboard
open override fun dispatch(context: CoroutineContext, block: Runnable)
Link copied to clipboard
open fun dispatchYield(context: CoroutineContext, block: Runnable)
Link copied to clipboard
fun execute()
Link copied to clipboard
open override fun <R> fold(initial: R, operation: (R, CoroutineContext.Element) -> R): R
Link copied to clipboard
open operator override fun <E : CoroutineContext.Element> get(key: CoroutineContext.Key<E>): E?
Link copied to clipboard
override fun <T> interceptContinuation(continuation: Continuation<T>): Continuation<T>
Link copied to clipboard
open fun invokeOnTimeout(timeMillis: Long, block: Runnable, context: CoroutineContext): DisposableHandle
Link copied to clipboard
open override fun isDispatchNeeded(context: CoroutineContext): Boolean
Link copied to clipboard
fun Dispatcher.launch(start: CoroutineStart = CoroutineStart.DEFAULT, block: suspend CoroutineScope.() -> Unit): Job
Link copied to clipboard
open override fun limitedParallelism(parallelism: Int, name: String?): CoroutineDispatcher
Link copied to clipboard
open override fun minusKey(key: CoroutineContext.Key<*>): CoroutineContext
Link copied to clipboard
open operator fun plus(context: CoroutineContext): CoroutineContext
Link copied to clipboard
override fun releaseInterceptedContinuation(continuation: Continuation<*>)
Link copied to clipboard
open override fun scheduleResumeAfterDelay(timeMillis: Long, continuation: CancellableContinuation<Unit>)
Link copied to clipboard
open override fun toString(): String