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

x/alosaur/mod.ts>UseHook

Alosaur - Deno web framework with many decorators
Very Popular
Go to Latest
function UseHook
import { UseHook } from "https://deno.land/x/alosaur@v0.21.0/mod.ts";

Registers hook an area or controller or action.

Type Parameters

TState
TPayload

Parameters

hook: Type<HookTarget<TState, TPayload>>
optional
payload: TPayload

Returns

Function