@serwist/broadcast-update
Version:
A module that uses the Broadcast Channel API to announce when a cached response has updated.
16 lines (13 loc) • 463 B
text/typescript
/*
Copyright 2018 Google LLC
Use of this source code is governed by an MIT-style
license that can be found in the LICENSE file or at
https://opensource.org/licenses/MIT.
*/
export type { BroadcastCacheUpdateOptions, BroadcastMessage, BroadcastPayload, BroadcastPayloadGenerator } from "serwist";
export {
BROADCAST_UPDATE_DEFAULT_HEADERS as defaultHeadersToCheck,
BroadcastCacheUpdate,
BroadcastUpdatePlugin,
responsesAreSame,
} from "serwist";