unlocked method

  1. @override
void unlocked ()
override

Called by lockEvents when events get unlocked.

This should flush any events that were queued while locked was true.

Implementation

@override
void unlocked() {
  super.unlocked();
  if (_taskQueue.isNotEmpty)
    _ensureEventLoopCallback();
}