Urara-Blog/node_modules/.pnpm-store/v3/files/b8/8610db07305a53a6db8fbe72356f451b5426c01f6aab9821b18a7707cbdb814cf3b5d85d26fb01189d57ddd8365c170298a6e774fb4c2a474ae5745bc54308
2022-08-14 01:14:53 +08:00

12 lines
363 B
Text

import '../_version.js';
/**
* A utility method that makes it easier to use `event.waitUntil` with
* async functions and return the result.
*
* @param {ExtendableEvent} event
* @param {Function} asyncFn
* @return {Function}
* @private
*/
declare function waitUntil(event: ExtendableEvent, asyncFn: () => Promise<any>): Promise<any>;
export { waitUntil };