cats-effect
cats-effect copied to clipboard
Make the `WorkStealingThreadPool` be an `IORuntime`
The inheritance is yet to be determined properly.
- The
WSTPis a compute pool. - The
WSTPhas good support for blocking, and we can cache the threads that were used for blocking, similar to a cached thread pool. - We already want to give the
WSTPscheduler capabilities. - This will solve the situation where creating a
WSTPneeds a forward reference to the runtime it is in.
I will work on this in the coming months.