( self: TxHashMap<K, V> )
| 914 | * @since 4.0.0 |
| 915 | */ |
| 916 | export const entries = <K, V>( |
| 917 | self: TxHashMap<K, V> |
| 918 | ): Effect.Effect<Array<readonly [K, V]>> => |
| 919 | Effect.gen(function*() { |
| 920 | const map = yield* TxRef.get(self.ref) |
| 921 | return HashMap.toEntries(map) |
| 922 | }) |
| 923 | |
| 924 | /** |
| 925 | * Returns an immutable snapshot of the current TxHashMap state. |
no test coverage detected