Skip to content

ambiten


ambiten / core / HookFunction

Type Alias: HookFunction

HookFunction = (data) => Promise<void>

Defined in: packages/core/src/types/schema.type.ts:27

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.

Context-aware execution infrastructure for multi-tenant systems.