TaskQueue

fun interface TaskQueue

Tasks run one at a time, in the order they were posted

Inheritors

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
abstract fun post(task: () -> Unit)