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

Function broadcast

packages/effect/src/unstable/rpc/RpcClient.ts:1043–1044  ·  view source on GitHub ↗
(response: FromServerEncoded)

Source from the content-addressed store, hash-verified

1041 })
1042
1043 const broadcast = (response: FromServerEncoded) =>
1044 Effect.forEach(clientIds, (clientId) => writeResponse(clientId, response))
1045 const broadcastError = (error: RpcClientError) => {
1046 currentError = error
1047 return broadcast({

Callers 4

Stream.tsFile · 0.85
broadcastErrorFunction · 0.85
makeProtocolSocketFunction · 0.85
makeProtocolWorkerFunction · 0.85

Calls 1

forEachMethod · 0.65

Tested by

no test coverage detected