timersPromises.scheduler.yield()


稳定性: 1 - 实验性

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

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

调用 timersPromises.scheduler.yield() 等同于在没有参数的情况下调用 timersPromises.setImmediate()

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