function resolveHooksimport { resolveHooks } from "https://dotland.deno.dev/x/alosaur@v0.35.0/src/utils/hook.utils.ts"; resolveHooks<TState, TPayload>(context: Context<TState>,actionName: HookMethod,hooks?: HookMetadataArgs<TState, TPayload>[],): Promise<boolean>Run hooks function and return true if response is immediately Type ParametersTStateTPayloadParameterscontext: Context<TState>actionName: HookMethodoptionalhooks: HookMetadataArgs<TState, TPayload>[]ReturnsPromise<boolean>