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

Function values

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

Source from the content-addressed store, hash-verified

1358 * @since 4.0.0
1359 */
1360export const values = <Key, A, E, R>(self: Cache<Key, A, E, R>): Effect.Effect<Iterable<A>> =>
1361 effect.map(entries(self), Iterable.map(([, value]) => value))
1362
1363/**
1364 * Retrieves all key-value pairs from the cache as an iterable. This function

Callers 1

toValuesFunction · 0.70

Calls 2

entriesFunction · 0.70
mapMethod · 0.45

Tested by

no test coverage detected