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

Function onFromServer

packages/effect/src/unstable/cluster/Entity.ts:666–668  ·  view source on GitHub ↗
(response)

Source from the content-addressed store, hash-verified

664 const server = yield* RpcServer.makeNoSerialization(entity.protocol, {
665 concurrency: entityEntry.concurrency,
666 onFromServer(response) {
667 return client.write(response)
668 }
669 }).pipe(
670 Effect.setContext(Context.merge(handlerContext, handlers))
671 )

Callers

nothing calls this directly

Calls 1

writeMethod · 0.65

Tested by

no test coverage detected