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

Function handleRemote

packages/effect/src/eventlog/EventLog.ts:296–301  ·  view source on GitHub ↗
(handler)

Source from the content-addressed store, hash-verified

294 ),
295 remotes,
296 handleRemote(handler) {
297 remoteHandler = handler
298 return Effect.forEach(remotes, ([id, remote]) => FiberMap.run(remoteFiberMap, id, handler(remote)), {
299 discard: true
300 })
301 },
302 registerReactivity: (keys) =>
303 Effect.sync(() => {
304 for (const [key, value] of Object.entries(keys)) {

Callers

nothing calls this directly

Calls 3

handlerFunction · 0.70
forEachMethod · 0.65
runMethod · 0.65

Tested by

no test coverage detected