whenRunningInterpretersDo

fun whenRunningInterpretersDo(priority: Int, action: () -> Unit)

Request that the specified action be executed when interpreter tasks are allowed to run.

Parameters

priority

The priority of the AvailTask to queue. It must be in the range 0..255.

action

The action to perform when interpreters may run.