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

Function values

packages/effect/src/ScopedCache.ts:776–777  ·  view source on GitHub ↗
(self: ScopedCache<Key, A, E, R>)

Source from the content-addressed store, hash-verified

774 * @since 4.0.0
775 */
776export const values = <Key, A, E, R>(self: ScopedCache<Key, A, E, R>): Effect.Effect<Array<A>> =>
777 effect.map(entries(self), Arr.map(([, value]) => value))
778
779/**
780 * Retrieves all key-value pairs from the cache as an array. This function

Callers

nothing calls this directly

Calls 2

entriesFunction · 0.70
mapMethod · 0.45

Tested by

no test coverage detected