( self: TxHashMap<K, V> )
| 934 | * @since 4.0.0 |
| 935 | */ |
| 936 | export const entries = <K, V>( |
| 937 | self: TxHashMap<K, V> |
| 938 | ): Effect.Effect<Array<readonly [K, V]>> => |
| 939 | Effect.gen(function*() { |
| 940 | const map = yield* TxRef.get(self.ref) |
| 941 | return HashMap.toEntries(map) |
| 942 | }) |
| 943 | |
| 944 | /** |
| 945 | * Returns an immutable snapshot of the current TxHashMap state. |
no test coverage detected