SchedulerCoroutineDispatcher

class SchedulerCoroutineDispatcher(val scheduler: Scheduler) : CoroutineDispatcher, Delay

Implements CoroutineDispatcher on top of an arbitrary Scheduler.

Constructors

Link copied to clipboard
fun SchedulerCoroutineDispatcher(scheduler: Scheduler)

Properties

Link copied to clipboard
val scheduler: Scheduler

Underlying scheduler of current CoroutineDispatcher.