serwist
Version:
A Swiss Army knife for service workers.
11 lines • 329 B
TypeScript
/**
* A utility method that makes it easier to use `event.waitUntil` with
* async functions and return the result.
*
* @param event
* @param asyncFn
* @returns
* @private
*/
export declare const waitUntil: <T = any>(event: ExtendableEvent, asyncFn: () => Promise<T>) => Promise<T>;
//# sourceMappingURL=waitUntil.d.ts.map