Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/alosaur/src/utils/hook.utils.ts>resolveHooks

Alosaur - Deno web framework with many decorators
Go to Latest
function resolveHooks
import { resolveHooks } from "https://deno.land/x/alosaur@v0.33.0/src/utils/hook.utils.ts";

Run hooks function and return true if response is immediately

Type Parameters

TState
TPayload

Parameters

context: Context<TState>
actionName: HookMethod
optional
hooks: HookMetadataArgs<TState, TPayload>[]

Returns

Promise<boolean>