AsyncThreadDispatcher
class AsyncThreadDispatcher(val executor: AsyncExecutor, val threads: Int = -1) : CoroutineDispatcher, KtDispatcher, Disposable
A CoroutineDispatcher that wraps around an AsyncExecutor instance (executor) to execute tasks asynchronously.
Requires calling executePending in order to support delay.
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun invokeOnTimeout(timeMillis: Long, block: Runnable, context: CoroutineContext): DisposableHandle
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun scheduleResumeAfterDelay(timeMillis: Long, continuation: CancellableContinuation<Unit>)