Prioritized TPL DataFlow BufferBlock
-
14-11-2019 - |
Question
It should be something very natural to have, I was wondering if there is a ready implementation of Prioritized BufferBlock from TPL DataFlow library?
Solution
Seems the best way to achieve this is to use a specialised Task Scheduler, rather than implementing your own BufferBlock. There are many variety of them one can find out in net. For instance, check QueuedTaskScheduler
in ParallelExtensions Library
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow