SchedulingStrategy typedef
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.
Implementation
typedef SchedulingStrategy = bool Function({ int priority, SchedulerBinding scheduler });