123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- import { dontWaitFor } from 'workbox-core/_private/dontWaitFor.js';
- import { BroadcastCacheUpdate } from './BroadcastCacheUpdate.js';
- import './_version.js';
- class BroadcastUpdatePlugin {
-
- constructor(options) {
-
- this.cacheDidUpdate = async (options) => {
- dontWaitFor(this._broadcastUpdate.notifyIfUpdated(options));
- };
- this._broadcastUpdate = new BroadcastCacheUpdate(options);
- }
- }
- export { BroadcastUpdatePlugin };
|