SequentialScheduler

Every task on the thread that posts it, in the order they were posted, those of all queues together: a task posted while another runs waits for it, so that the nodes run in turn, in a deterministic order. A task that fails leaves those after it queued, for the next post.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun interrupt()

The task running now interrupted, where it can be (a thread of the JVM: a resolution halts at its next step), none otherwise

Link copied to clipboard
open override fun post(task: () -> Unit)
Link copied to clipboard
open override fun queue(): TaskQueue