浏览器对Service Worker Task Scheduler的支持 [英] Browser support for Service Worker Task Scheduler

查看:67
本文介绍了浏览器对Service Worker Task Scheduler的支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道此处所述的用于服务工作者的TaskScheduler API是否为

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.

推荐答案

https://www.w3.org/TR/2015/NOTE-task-scheduler-20150723/ 包含以下注释:


此规范作为工作组说明重新发布,作为
表示它没有作为建议
进一步进行开发跟踪文档。

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

我不认为会有该文档中所描述的API的预期浏览器。

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

根据您要执行的操作,预算API 背景提取API Background Sync API 也许可以满足您的用例,尽管它们也不是都得到广泛支持。

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.

这篇关于浏览器对Service Worker Task Scheduler的支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆