(self: TxHashMap<K, V>)
| 884 | * @since 2.0.0 |
| 885 | */ |
| 886 | export const values = <K, V>(self: TxHashMap<K, V>): Effect.Effect<Array<V>> => |
| 887 | Effect.gen(function*() { |
| 888 | const map = yield* TxRef.get(self.ref) |
| 889 | return HashMap.toValues(map) |
| 890 | }) |
| 891 | |
| 892 | /** |
| 893 | * Returns an array of all key-value pairs in the TxHashMap. |