UNPKG

es-toolkit

Version:

A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.

14 lines (13 loc) 341 B
//#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 This function returns a Promise that resolves to undefined. */ async function asyncNoop() {} //#endregion export { asyncNoop };