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

Function broadcastError

packages/effect/src/rpc/RpcClient.ts:1356–1362  ·  view source on GitHub ↗
(error: RpcClientError)

Source from the content-addressed store, hash-verified

1354 return Effect.uninterruptible(deliver)
1355 }
1356 const broadcastError = (error: RpcClientError) => {
1357 currentError = error
1358 return broadcast({
1359 _tag: "ClientProtocolError",
1360 error
1361 })
1362 }
1363
1364 const processData = (data: Uint8Array | string): Effect.Effect<void> => {
1365 try {

Callers 1

makeProtocolSocketFunction · 0.85

Calls 1

broadcastFunction · 0.70

Tested by

no test coverage detected