How to trigger main.js function inside a service worker?

后端 未结 0 1489
情歌与酒
情歌与酒 2021-01-01 05:54

I want to trigger a main.js function after the background sync completed.

const bgSyncPlugin = new workbox.backgroundSync.Plugin(\'uploadQueue\', {
maxRetenti         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题