MCPcopy
hub / github.com/Effect-TS/effect / resume

Function resume

packages/rpc/src/RpcClient.ts:375–387  ·  view source on GitHub ↗
(exit)

Source from the content-addressed store, hash-verified

373 rpc,
374 context,
375 resume(exit) {
376 completed = true
377 resume(exit)
378 if (fiber && !fiber.unsafePoll()) {
379 parentFiber.currentScheduler.scheduleTask(
380 () => {
381 fiber.unsafeInterruptAsFork(parentFiber.id())
382 },
383 0,
384 fiber
385 )
386 }
387 }
388 }
389 entries.set(id, entry)
390 fiber = send.pipe(

Callers 15

onEffectRequestFunction · 0.70
sendInterruptFunction · 0.70
onChangeFunction · 0.50
httpClient.tsFile · 0.50
textFunction · 0.50
onReadyStateChangeFunction · 0.50
onErrorFunction · 0.50
arrayBufferFunction · 0.50
onMessageFunction · 0.50
onMessageFunction · 0.50
makeNetFunction · 0.50

Calls 4

unsafePollMethod · 0.65
scheduleTaskMethod · 0.65
unsafeInterruptAsForkMethod · 0.65
idMethod · 0.65

Tested by

no test coverage detected