TxHashMap[K, V]: a transactional hash map (Effect's TxHashMap).
The value is a HashMap (pyfect.hash_map) held in a TxRef: keys
compare as Effect's Equal (True is not 1, NaN finds NaN, lists
are keys by their items) and iterate in Effect's hash order. A write makes a
new map and shares the rest, so a snapshot stays as it was. Every operation
joins the running transaction (fx.tx) or runs as one of its own.
Classes#
On This Page
Classes