此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。
SyncEvent:lastChance 属性
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
备注: 此特性仅在 Service Worker 中可用。
如果用户代理在当前尝试之后不会进行进一步的同步尝试,接口 SyncEvent 的只读属性 lastChance 将返回 true。这是通过 SyncEvent() 构造函数的 lastChance 参数传递的值。
值
一个布尔值,指示用户代理是否不会进一步在当前尝试后继续尝试同步。
规范
| Specification |
|---|
| Web Background Synchronization> # dom-syncevent-lastchance> |
浏览器兼容性
Loading...