timersPromises.scheduler.yield()


稳定性: 1 - 实验

调度 API 草案规范定义的实验性 API,正在开发为标准 Web 平台 API。

调用 timersPromises.scheduler.yield() 等同于不带参数调用 timersPromises.setImmediate()

Stability: 1 - Experimental

An experimental API defined by the Scheduling APIs draft specification being developed as a standard Web Platform API.

Calling timersPromises.scheduler.yield() is equivalent to calling timersPromises.setImmediate() with no arguments.