setHost static method
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;
}