SchedulingStrategy typedef

bool SchedulingStrategy ({int priority, SchedulerBinding scheduler })

Signature for the SchedulerBinding.schedulingStrategy callback. Called whenever the system needs to decide whether a task at a given priority needs to be run.

Return true if a task with the given priority should be executed at this time, false otherwise.

See also defaultSchedulingStrategy.


typedef SchedulingStrategy = bool Function({ int priority, SchedulerBinding scheduler });