cats-effect
cats-effect copied to clipboard
Supervisor is underpowered
trafficstars
I feel like some of the internal machinery inside Supervisor would be quite useful to expose in its external interface too. The current api has the advantage of mimicking the start api, but it means that Supervisor is useful in fewer cases than it could. In particular, I think it would be useful to be able to cancel a specific Fiber from Supervisor, but currently to do that you have to rebuild the exact same machinery, i.e. a Map[Unique, Fiber], in user code. Thoughts?
Sounds exactly like this: #1345 :-)