mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-05 15:29:29 +08:00
12 lines
363 B
Text
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 };
|