ILifecycleApi.onRequest(fn: (ctx: IRequestContext) => void | Promise<void>): void
Runs at the start of every request.
fn: (ctx: IRequestContext) => void | Promise<void>
Hook body receiving the request context
ILifecycleApi.onRequest(fn: (ctx: IRequestContext) => void | Promise<void>): void
Runs at the start of every request.
fn: (ctx: IRequestContext) => void | Promise<void>
Hook body receiving the request context
import { type ILifecycleApi } from "common/src/index.ts";