Handling FiberSet Finalization and Error Propagation in Effect.gen
I have a
I populate this
When the
It initially seemed I could add a finalizer to await the
Unfortunately, finalizer effects cannot contain error / this wouldn't propagate errors within
Any tips on how to ensure the
FiberSet within an Effect.gen.I populate this
FiberSet with a Stream.fromQueue.When the
Scope is closed, I want the pubsub to stop listening. However, I don't want thefibers to be killed.It initially seemed I could add a finalizer to await the
fiberset. Ie.Unfortunately, finalizer effects cannot contain error / this wouldn't propagate errors within
fibers to root. Ideally, the E of f-produced effects would be represented in root.Any tips on how to ensure the
fibers are all resolved / stop the completed parent fiber from terminating fibers?