handleEventLoopCallback method

  1. @override
bool handleEventLoopCallback()
override

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

Returns false if the scheduler is locked, or if there are no tasks remaining.

Returns true otherwise, including when no task is executed due to priority being too low.

Implementation

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