14 lines
366 B
JavaScript
14 lines
366 B
JavaScript
//#region src/function/asyncNoop.ts
|
|
/**
|
|
* 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.
|
|
*/
|
|
async function asyncNoop() {}
|
|
//#endregion
|
|
exports.asyncNoop = asyncNoop;
|