IScheduler

interface IScheduler

Allows to queue the execution of actions on a different thread.

Inheritors

Properties

Link copied to clipboard
val IScheduler.asCoroutineDispatcher: CoroutineDispatcher
Link copied to clipboard
Link copied to clipboard
abstract val isActive: Boolean

Functions

Link copied to clipboard
fun IScheduler.asCoroutineDispatcher(allowInlining: Boolean): CoroutineDispatcher
Link copied to clipboard

Transforms the current scheduler into a sequential one.

Link copied to clipboard
open fun assertThread(debugInfo: Any? = null)
Link copied to clipboard
abstract fun flush()
Link copied to clipboard
open fun invokeOrQueue(action: () -> Unit)
Link copied to clipboard
abstract fun queue(action: () -> Unit)

Queues the execution of the given action.