MCPcopy Create free account
hub / github.com/Effect-TS/effect / makeHandlers

Function makeHandlers

packages/effect/src/unstable/httpapi/HttpApiBuilder.ts:649–656  ·  view source on GitHub ↗
(
  group: Group
)

Source from the content-addressed store, hash-verified

647}
648
649const makeHandlers = <R, Group extends HttpApiGroup.Constraint>(
650 group: Group
651): Handlers<R, EndpointMap<HttpApiGroup.Endpoints<Group>>> => {
652 const self = Object.create(HandlersProto)
653 self.group = group
654 self.handlers = new Map<string, HandlerRuntime>()
655 return self
656}
657
658type PayloadDecoder =
659 | {

Callers 1

groupFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected