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

Function snapshot

packages/effect/src/TxHashMap.ts:960–962  ·  view source on GitHub ↗
(
  self: TxHashMap<K, V>
)

Source from the content-addressed store, hash-verified

958 * @since 4.0.0
959 */
960export const snapshot = <K, V>(
961 self: TxHashMap<K, V>
962): Effect.Effect<HashMap.HashMap<K, V>> => TxRef.get(self.ref)
963
964/**
965 * Merges another HashMap into this TxHashMap. If both maps contain the same key,

Callers 1

getMethod · 0.70

Calls 1

getMethod · 0.65

Tested by

no test coverage detected