Skip to content

GuardedBunHandler

type GuardedBunHandler = (request, decision) => Response | Promise<Response>;

Defined in: src/adapters/bun.ts:44

A Bun route handler that also receives the allowing decision.

Parameter Type
request Request
decision CheckResult

Response | Promise<Response>