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

Method invalidate

packages/effect/src/ui/Query.ts:293–293  ·  view source on GitHub ↗

* Marks one entry, or every entry of the query when called without * arguments, stale. A watched entry refetches at once, a fetch in flight is * restarted, and any other entry refetches the next time it's asked for.

(args?: Args["Type"])

Source from the content-addressed store, hash-verified

291 * restarted, and any other entry refetches the next time it's asked for.
292 */
293 invalidate(args?: Args["Type"]): Effect.Effect<void, never, Cache>
294 /**
295 * Watches an entry: loads it if it's cold or stale and nothing else watches
296 * it, then emits every change. The Stream starts with the current state

Callers 15

makeFunction · 0.65
PgPool.tsFile · 0.65
useFunction · 0.65
OpenAiClient.tsFile · 0.65
createResponseStreamFunction · 0.65
Query.tst.tsFile · 0.65
Pool.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected