LendAndRegret/node_modules/es-toolkit/dist/function/asyncNoop.d.ts
2026-05-02 17:27:43 +08:00

13 lines
332 B
TypeScript

/**
* An asynchronous no-operation function that does nothing.
* This can be used as a placeholder or default function.
*
* @example
* asyncNoop(); // Does nothing
*
* @returns {Promise<void>} This function returns a Promise that resolves to undefined.
*/
declare function asyncNoop(): Promise<void>;
export { asyncNoop };