ILifecycleApi.onResponse(fn: (ctx: IRequestContext) => void | Promise<void>): void
Runs after every response is produced.
fn: (ctx: IRequestContext) => void | Promise<void>
Hook body receiving the request context
ILifecycleApi.onResponse(fn: (ctx: IRequestContext) => void | Promise<void>): void
Runs after every response is produced.
fn: (ctx: IRequestContext) => void | Promise<void>
Hook body receiving the request context
import { type ILifecycleApi } from "common/src/index.ts";