12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- import { Strategy, StrategyOptions } from './Strategy.js';
- import { StrategyHandler } from './StrategyHandler.js';
- import './_version.js';
- declare class StaleWhileRevalidate extends Strategy {
-
- constructor(options?: StrategyOptions);
- /**
- * @private
- * @param {Request|string} request A request to run this strategy for.
- * @param {workbox-strategies.StrategyHandler} handler The event that
- * triggered the request.
- * @return {Promise<Response>}
- */
- _handle(request: Request, handler: StrategyHandler): Promise<Response>;
- }
- export { StaleWhileRevalidate };
|