kinetex - v1.0.0-rc.1
    Preparing search index...

    Type Alias OnRedirectHook

    OnRedirectHook: (
        evt: RedirectEvent,
        ctx: HookContext,
    ) => Promise<boolean | void> | boolean | void

    Called on redirect — return false to prevent following the redirect

    Type Declaration

      • (evt: RedirectEvent, ctx: HookContext): Promise<boolean | void> | boolean | void
      • Parameters

        • evt: RedirectEvent
        • ctx: HookContext

        Returns Promise<boolean | void> | boolean | void