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

Method offer

packages/effect/src/ui/Query.ts:646–654  ·  view source on GitHub ↗
(result: Item)

Source from the content-addressed store, hash-verified

644 }
645 }
646 const offer = (result: Item): void => {
647 if (failed !== undefined) return
648 if (
649 last !== undefined && queryCore.sameResult(result, last)
650 ) return
651 last = result
652 pending.push(result)
653 wake()
654 }
655 const handle = cache.watch(
656 def,
657 args,

Callers 15

EventLog.tsFile · 0.45
runner.tsFile · 0.45
pushFunction · 0.45
McpClient.tsFile · 0.45
sendFunction · 0.45
writeFunction · 0.45
routeFunction · 0.45
McpServerClass · 0.45
Toolkit.tsFile · 0.45
makeHandlersFunction · 0.45
makeFunction · 0.45
onScreenFunction · 0.45

Calls 2

wakeFunction · 0.70
pushMethod · 0.65

Tested by

no test coverage detected