asyncNoop es-toolkit
A function that asynchronously does nothing.
Info
noop function
If you need a function that synchronously does nothing, use the noop function which immediately returns void.
Usage
asyncNoop()
Use asyncNoop when you need to fill a placeholder or use as a default value where an asynchronous function is required. It returns a Promise that resolves to undefined.
Returns
A Promise that resolves to undefined.
Source: es-toolkit
Re-exported verbatim from es-toolkit. Implementation, edge cases, and performance behavior are owned upstream. This page mirrors the documentation at the pinned version; the linked source is authoritative.