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

Function handle

packages/effect/src/unstable/httpapi/HttpApiBuilder.ts:614–621  ·  view source on GitHub ↗
(
    this: Handlers<any, any, any>,
    identifier: string,
    handler: HttpApiEndpoint.Handler<HttpApiEndpoint.Constraint, any, any>,
    options?: { readonly uninterruptible?: boolean | undefined } | undefined
  )

Source from the content-addressed store, hash-verified

612 return pipeArguments(this, arguments)
613 },
614 handle(
615 this: Handlers<any, any, any>,
616 identifier: string,
617 handler: HttpApiEndpoint.Handler<HttpApiEndpoint.Constraint, any, any>,
618 options?: { readonly uninterruptible?: boolean | undefined } | undefined
619 ) {
620 return registerHandler(this, identifier, handler, false, options)
621 },
622 handleAll(
623 this: Handlers<any, any, any>,
624 handlers: Record<

Callers

nothing calls this directly

Calls 1

registerHandlerFunction · 0.85

Tested by

no test coverage detected