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

Method get

packages/effect/src/ui/Query.ts:586–596  ·  view source on GitHub ↗
(args: unknown)

Source from the content-addressed store, hash-verified

584 )
585 }
586 static get(args: unknown) {
587 return withCache((cache, context) =>
588 cache.get(
589 def,
590 args,
591 fetcherOf(context, Base),
592 Context.get(context, CurrentRun),
593 Context.getOrUndefined(context, Tracer.ParentSpan)
594 )
595 )
596 }
597 static prefetch(args: unknown) {
598 return withCache((cache, context) =>
599 Effect.sync(() => {

Callers

nothing calls this directly

Calls 3

withCacheFunction · 0.85
fetcherOfFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected