import { getHooksForAction } from "https://dotland.deno.dev/x/alosaur@v0.35.0/src/route/get-hooks.ts";
Gets hooks in runtime
Parameters
hooks: HookMetadataArgs<TState, TPayload>[]
action: RouteMetadata
Returns
HookMetadataArgs<TState, TPayload>[] | undefined