SchedulerCoroutineDispatcher

class SchedulerCoroutineDispatcher(scheduler: Scheduler) : CoroutineDispatcher, Delay

Implements CoroutineDispatcher on top of an arbitrary Scheduler.

Constructors

SchedulerCoroutineDispatcher
Link copied to clipboard
fun SchedulerCoroutineDispatcher(scheduler: Scheduler)

Properties

scheduler
Link copied to clipboard
val scheduler: Scheduler

Underlying scheduler of current CoroutineDispatcher.