Issue with `Effect.onExit` Triggering Early in Queue Processing with Semaphore
I got an issue with Queues and
For some reason, the above code is triggering the
When I put the exit effect on the forkScoped effect instead, the callback instead never gets called at all?
The idea is that I want to put things into a queue that has a shared concurrency with other queues in the system.
Effect.onExit triggering too early:For some reason, the above code is triggering the
Effect.onExit too early, when I have a thing I am waiting on (in this case, a Latch) inside the handleTransaction effect.When I put the exit effect on the forkScoped effect instead, the callback instead never gets called at all?
The idea is that I want to put things into a queue that has a shared concurrency with other queues in the system.
