Skip to content

@opencraft/providence


Function: nop()

nop(input): unknown

Defined in: lib/index.ts:304

No-op passthrough function which returns what is handed to it. Useful to explicitly silence promise chains.

Parameters

input

unknown

Whatever the promise resolves to. This is also returned by the function.

Returns

unknown