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

Function middleware

repos/effect/packages/effect/src/unstable/http/HttpRouter.ts:931–936  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

929 * @since 4.0.0
930 */
931export const middleware:
932 & middleware.Make<never, never>
933 & (<
934 Config extends {
935 provides?: any
936 handles?: any
937 } = {}
938 >() => middleware.Make<
939 Config extends { provides: infer R } ? R : never,

Callers 3

corsFunction · 0.70
HttpRouter.tsFile · 0.70
provideRequestFunction · 0.70

Calls 1

makeMiddlewareFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…