Closed davidfowl closed 6 years ago
If multiple libraries use this library in an application, it'll end up spinning up a bunch of threads per use which would be less efficient that sharing them.
So... you'd want something like DedicatedThreadPoolPipeScheduler.Default ?
DedicatedThreadPoolPipeScheduler.Default
Yea and that should be the default and libraries can opt into more isolation if they want to.
If multiple libraries use this library in an application, it'll end up spinning up a bunch of threads per use which would be less efficient that sharing them.