scheduleFrame method

  1. @override
void scheduleFrame(
  1. VoidCallback frameCallback
)
override

Schedules a frame with the provided frameCallback

Implementation

@override
void scheduleFrame(VoidCallback frameCallback) {
  // We want the build to trigger asynchronously (to batch updates), but as soon as possible.
  // Microtasks are run before other tasks or events.
  scheduleMicrotask(frameCallback);
}