问题
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