constructor(priority: Int, body: () -> Unit) Construct a new AvailTask.
Parameters
The priority, a value in [0..255]. Tasks with higher numerical values typically run before those with lower numerical values. See quasiDeadline.
The action to execute for this task.