MCPcopy Create free account
hub / github.com/BabylonSocial/babylon / asyncHandler

Function asyncHandler

packages/api/src/error-handler.ts:603–628  ·  view source on GitHub ↗
(
  setup?: () => Promise<void>,
  handler?: (req: NextRequest, context?: TContext) => Promise<Response>,
  teardown?: () => Promise<void>,
  options?: ErrorHandlerOptions
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

errorHandlerFunction · 0.70
handlerFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…