cats-effect icon indicating copy to clipboard operation
cats-effect copied to clipboard

Supervisor is underpowered

Open SystemFw opened this issue 3 years ago • 1 comments
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?

SystemFw avatar May 11 '22 13:05 SystemFw

Sounds exactly like this: #1345 :-)

djspiewak avatar May 20 '22 15:05 djspiewak