addDispatchTask method

void addDispatchTask(
  1. IRenderExecutor executor
)

Implementation

void addDispatchTask(IRenderExecutor executor) {
  if (_isDestroyed) {
    return;
  }

  _dispatchRunnable.add(executor);

  if (!_isDispatchUiFrameEnqueued) {
    _isDispatchUiFrameEnqueued = true;
  }
}