Browser support for Service Worker Task Scheduler

人盡茶涼 提交于 2019-12-12 11:42:08

问题


Does anybody know, whether the TaskScheduler API for service workers as described here is supported by any browser or when or whether it will be implemented in the future?

Unfortunately there is only very poor documentation about the features of service workers in regards to different browsers. So any references would be much appreciated.


回答1:


https://www.w3.org/TR/2015/NOTE-task-scheduler-20150723/ contains the following note:

This specification is being republished as a Working Group Note as an indication that it not being progressed further as a Recommendation track document.

I don't believe there's any expectation that the API, as described in that document, is going to be added to browsers.

Depending on what you're looking to do, some combination of the Budget API, Background Fetch API, and Background Sync API might meet your use case, though they're not all widely supported, either.



来源:https://stackoverflow.com/questions/44779032/browser-support-for-service-worker-task-scheduler

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!