13 lines
No EOL
365 B
TypeScript
13 lines
No EOL
365 B
TypeScript
//#region src/function/asyncNoop.d.ts
|
|
/**
|
|
* An asynchronous no-operation function that does nothing.
|
|
* This can be used as a placeholder or default function.
|
|
*
|
|
* @example
|
|
* asyncNoop(); // Does nothing
|
|
*
|
|
* @returns This function returns a Promise that resolves to undefined.
|
|
*/
|
|
declare function asyncNoop(): Promise<void>;
|
|
//#endregion
|
|
export { asyncNoop }; |