MCPcopy Create free account
hub / github.com/effect-app/libs / middleware.ts

File middleware.ts

packages/infra/src/routing/middleware/middleware.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/* eslint-disable @typescript-eslint/no-explicit-any */
2import { ConfigureInterruptibilityMiddleware, DevMode, DevModeMiddleware, LoggerMiddleware, RequestCacheMiddleware } from "effect-app/middleware"
3import { RpcContextMap, type RpcMiddleware } from "effect-app/rpc"
4import { pretty } from "effect-app/utils"

Callers

nothing calls this directly

Calls 10

logErrorFunction · 0.90
reportErrorFunction · 0.90
prettyFunction · 0.90
summarizePayloadFunction · 0.85
catchMethod · 0.80
pipeMethod · 0.65
getMethod · 0.65
succeedMethod · 0.45
failMethod · 0.45
provideMethod · 0.45

Tested by

no test coverage detected