task method

  1. @override
void task(
  1. Task<T> task
)
override

Enqueues task for execution starting at the end of the current frame.

Implementation

@override
void task(Task<T> task) {
  if (task._isQueued) return;
  task._isQueued = true;
  task._reset();
  _pendingTaskQueue.add(task);
}