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

Function holdBack

packages/effect/src/ui/Query.ts:4871–4875  ·  view source on GitHub ↗
(entry: Entry, trigger: Trigger, watcher: string | undefined)

Source from the content-addressed store, hash-verified

4869
4870/** Keep the first trigger's watcher, even when absent; later requests only join. */
4871const holdBack = (entry: Entry, trigger: Trigger, watcher: string | undefined): void => {
4872 if (entry.deferred !== undefined) return
4873 entry.deferred = trigger
4874 entry.deferredWatcher = watcher
4875}
4876
4877const listOps: ListOps = {
4878 itemsOf: infiniteItems,

Callers 5

Query.tsFile · 0.85
ensureFetchFunction · 0.85
invalidateEntryFunction · 0.85
applyWritesFunction · 0.85
beginRunFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected