MCPcopy Create free account
hub / github.com/anomalyco/opencode / Endpoint13_0

Function Endpoint13_0

packages/client/src/generated-effect/client.ts:511–517  ·  view source on GitHub ↗
(raw: RawClient["server.event"])

Source from the content-addressed store, hash-verified

509const adaptGroup12 = (raw: RawClient["server.skill"]) => ({ list: Endpoint12_0(raw) })
510
511const Endpoint13_0 = (raw: RawClient["server.event"]) => () =>
512 Stream.unwrap(
513 raw["event.subscribe"]({}).pipe(
514 Effect.mapError(mapClientError),
515 Effect.map((stream) => stream.pipe(Stream.mapError(mapClientError))),
516 ),
517 )
518
519const adaptGroup13 = (raw: RawClient["server.event"]) => ({ subscribe: Endpoint13_0(raw) })
520

Callers 1

adaptGroup13Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected