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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
request |
Request |
decision |
CheckResult |
Returns
Section titled “Returns”Response | Promise<Response>