Android Ui Dispatcher
A CoroutineDispatcher that will perform dispatch during a handler callback or choreographer's animation frame stage, whichever comes first. Use Main to obtain a dispatcher for the process's main thread (i.e. the activity thread) or CurrentThread to obtain a dispatcher for the current thread.
Types
Functions
dispatch
Link copied to clipboard
dispatchYield
Link copied to clipboard
get
Link copied to clipboard
open operator override fun <E : CoroutineContext.Element> get(key: CoroutineContext.Key<E>): E?
Content copied to clipboard
interceptContinuation
Link copied to clipboard
override fun <T> interceptContinuation(continuation: Continuation<T>): Continuation<T>
Content copied to clipboard
isDispatchNeeded
Link copied to clipboard
minusKey
Link copied to clipboard
open override fun minusKey(key: CoroutineContext.Key<*>): CoroutineContext
Content copied to clipboard
plus
Link copied to clipboard
releaseInterceptedContinuation
Link copied to clipboard
open override fun releaseInterceptedContinuation(continuation: Continuation<*>)
Content copied to clipboard
Properties
choreographer
Link copied to clipboard
frameClock
Link copied to clipboard
A MonotonicFrameClock associated with this AndroidUiDispatcher's choreographer that may be used to await Choreographer frame dispatch.
key
Link copied to clipboard