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

Method prefetch

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

* Starts a fetch that outlives the caller, unless the entry is fresh, and * returns nothing.

(args: Args["Type"])

Source from the content-addressed store, hash-verified

285 * returns nothing.
286 */
287 prefetch(args: Args["Type"]): Effect.Effect<void, never, Self | Cache>
288 /**
289 * Marks one entry, or every entry of the query when called without
290 * arguments, stale. A watched entry refetches at once, a fetch in flight is

Callers 14

Query.tst.tsFile · 0.65
Route.tst.tsFile · 0.65
WarmClass · 0.65
Query.test.tsFile · 0.65
Router.test.tsFile · 0.65
makeLazyAppFunction · 0.65
HtmlServer.test.tsFile · 0.65
prefetch.tsFile · 0.65
prefetchMethod · 0.65

Calls

no outgoing calls

Tested by 1

makeLazyAppFunction · 0.52