MCPcopy
hub / github.com/Effect-TS/effect / get

Method get

packages/effect/src/Cache.ts:66–66  ·  view source on GitHub ↗

* Retrieves the value associated with the specified key if it exists. * Otherwise computes the value with the lookup function, puts it in the * cache, and returns it.

(key: Key)

Source from the content-addressed store, hash-verified

64 * cache, and returns it.
65 */
66 get(key: Key): Effect.Effect<Value, Error>
67
68 /**
69 * Retrieves the value associated with the specified key if it exists as a left.

Callers 15

sendFunction · 0.65
onMessageFunction · 0.65
onMessageFunction · 0.65
makeFunction · 0.65
makeExecuteFunction · 0.65
requestFunction · 0.65
groupedFunction · 0.65
findByIdFunction · 0.65
makeStorageFunction · 0.65
makeFunction · 0.65

Implementers 1

CacheImplpackages/effect/src/internal/cache.ts

Calls

no outgoing calls

Tested by 15

webHandlerFunction · 0.52
testLayerFunction · 0.52
RateLimiterTestSuiteFunction · 0.52
incrementTRefNFunction · 0.52
transferFunction · 0.52
compute3TRefNFunction · 0.52
permutationFunction · 0.52
fFunction · 0.52
runFunction · 0.52
processRequestFunction · 0.52
logRefFunction · 0.52
incLeftFunction · 0.52