此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。

View in English Always switch to English

Navigator:scheduling 属性

Deprecated

Avoid using this feature in new projects. The navigator.scheduling.isInputPending() method may incorrectly return false and is not the only case where you might expect to yield. This feature may be a candidate for removal from web standards or browsers.

Consider using the following features instead: Scheduler API.

实验性: 这是一项实验性技术
在将其用于生产之前,请仔细检查浏览器兼容性表格

Navigator 接口的 scheduling 只读属性返回当前文档的 Scheduling 对象,该对象提供了用于控制调度任务的方法和属性。

一个 Scheduling 对象。

示例

完整的示例请参阅 Scheduling.isInputPending() 页面。

规范

规范
Early detection of input events
# dom-navigator-scheduling

浏览器兼容性

参见