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

Method handle

packages/effect/src/unstable/httpapi/HttpApiBuilder.ts:276–276  ·  view source on GitHub ↗

* Add the implementation for an unhandled `HttpApiEndpoint` to a `Handlers` group.

(
    identifier: Identifier & NotHandledIdentifier<Identifier, HandledIdentifiers>,
    handler: HttpApiEndpoint.Handler<
      EndpointsByIdentifier[Identifier],
      HttpApiEndpoint.MiddlewareError<EndpointsByIdentifier[Identifier]>,
      R1
    >,
    options?: { readonly uninterruptible?: boolean | undefined } | undefined
  )

Source from the content-addressed store, hash-verified

274 * Add the implementation for an unhandled `HttpApiEndpoint` to a `Handlers` group.
275 */
276 handle<
277 Identifier extends keyof EndpointsByIdentifier,
278 R1
279 >(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected