(hashSet: HashSet.HashSet<V>)
| 278 | * @since 4.0.0 |
| 279 | */ |
| 280 | export const fromHashSet = <V>(hashSet: HashSet.HashSet<V>): Effect.Effect<TxHashSet<V>> => |
| 281 | Effect.gen(function*() { |
| 282 | const ref = yield* TxRef.make(hashSet) |
| 283 | return makeTxHashSet(ref) |
| 284 | }) |
| 285 | |
| 286 | /** |
| 287 | * Checks whether a value is a TxHashSet. |
no test coverage detected