setHost static method

void setHost(
  1. SchedulerHost host
)

Replaces the current scheduler host platform hook.

In browser entry points, pass an adapter backed by window.requestAnimationFrame or window.requestIdleCallback.

Implementation

static void setHost(SchedulerHost host) {
  _host = host;
}