AvailTask

fun AvailTask(priority: Int, body: () -> Unit)

Construct a new AvailTask.

Parameters

priority

The priority, a value in [0..255]. Tasks with higher numerical values typically run before those with lower numerical values. See quasiDeadline.

body

The action to execute for this task.