MCPcopy Create free account
hub / github.com/effect-app/libs / runAll

Function runAll

repos/effect/packages/effect/src/RequestResolver.ts:1098–1109  ·  view source on GitHub ↗
(entries, key)

Source from the content-addressed store, hash-verified

1096 timeToLive: options.timeToLive as any,
1097 requireServicesAt: options.requireServicesAt ?? "lookup" as ServiceMode
1098 }) as any)
1099
1100/**
1101 * Adds a bounded in-memory cache to a request resolver.
1102 *
1103 * **When to use**
1104 *
1105 * Use to reuse completed results for repeated equal request values while still
1106 * passing a `RequestResolver` to `Effect.request`.
1107 *
1108 * **Details**
1109 *
1110 * Running the returned effect creates the cache and returns a wrapped resolver.
1111 * The cache stores completed success or failure results by request equality up
1112 * to `capacity`. The `strategy` option controls eviction order and defaults to

Callers

nothing calls this directly

Calls 3

runAllMethod · 0.80
sizeMethod · 0.65
removeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…