HookFunction
@abimongo/core / HookFunction
Type Alias: HookFunction()
HookFunction = (
data) =>Promise<void>
Defined in: core/src/types/schema.type.ts:24
Represents a hook function for middleware.
Parameters
data
any
The data passed to the hook.
Returns
Promise<void>
A promise that resolves when the hook is executed.