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

Function sendToRunner

packages/cluster/src/Sharding.ts:1023–1026  ·  view source on GitHub ↗
(runner: RunnerAddress, message: Message.Outgoing<any>)

Source from the content-addressed store, hash-verified

1021 })
1022
1023 const sendToRunner = (runner: RunnerAddress, message: Message.Outgoing<any>) =>
1024 isLocalRunner(runner)
1025 ? sendLocal(message)
1026 : runnersService.send({ address: runner, message })
1027
1028 function sendOutgoing(
1029 message: Message.Outgoing<any>,

Callers 2

sendOutgoingFunction · 0.85
onFromClientFunction · 0.85

Calls 2

isLocalRunnerFunction · 0.85
sendLocalFunction · 0.70

Tested by

no test coverage detected