MCPcopy Index your code
hub / github.com/Effect-TS/effect / cachePopulate

Function cachePopulate

packages/sql/src/SqlResolver.ts:168–170  ·  view source on GitHub ↗
(input: I, value: A)

Source from the content-addressed store, hash-verified

166 )
167 },
168 cachePopulate(input: I, value: A) {
169 return Effect.cacheRequestResult(makeRequest(tag, input, null as any, null as any), Exit.succeed(value))
170 },
171 cacheInvalidate(input: I) {
172 return Effect.withFiberRuntime<void>((fiber) => {
173 const cache = fiber.getFiberRef(FiberRef.currentRequestCache)

Callers

nothing calls this directly

Calls 1

makeRequestFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…