handleEventLoopCallback method

  1. @override
bool handleEventLoopCallback()
override

Execute the highest-priority task, if it is of a high enough priority.

Returns true if a task was executed and there are other tasks remaining (even if they are not high-enough priority).

Returns false if no task was executed, which can occur if there are no tasks scheduled, if the scheduler is locked, or if the highest-priority task is of too low a priority given the current schedulingStrategy.

Also returns false if there are no tasks remaining.

Implementation

@override
bool handleEventLoopCallback() {
  throw UnimplementedError();
}