Skip to content

WorkboxRouteHandler

type WorkboxRouteHandler =
| ((options) => Promise<Response>)
| {
handle(options): Promise<Response>;
};

Defined in: src/workbox.ts:56

A Workbox route handler: a callback, or an object with handle() such as a strategy instance.