Add additional error handling primitives for Subscribable
Lint / lint (push) Successful in 16s

This commit is contained in:
Julien Valverdé
2026-06-21 23:32:29 +02:00
parent 778a041a13
commit e15802976d
6 changed files with 243 additions and 8 deletions
+1 -1
View File
@@ -134,4 +134,4 @@ const count = Subscribable.focusArrayLength(users)
const current = yield* count.get
```
The module includes `make`, `map`, `mapEffect`, `mapError`, `tapError`, `unwrap`, and the same readonly focus helpers used by Lens. A `SubscriptionRef` can first be converted with `Lens.fromSubscriptionRef`, since every Lens is already a Subscribable.
The module includes value transforms, error recovery (`catch`, `catchCause`, `orElse`, `orElseSucceed`, and `retry`), error inspection, `unwrap`, and the same readonly focus helpers used by Lens. A `SubscriptionRef` can first be converted with `Lens.fromSubscriptionRef`, since every Lens is already a Subscribable.