c# - Task.WaitAll on a list of TransformBlock -


i have number of transform blocks running in sequence action task wait these transform tasks come completion looks messy , add more transform blocks going worse.

 action<task> postordercompletion = t =>             {                 task.waitall(edifact_96a_processor.completion, edifact_97a_processor.completion, errorprocessor.completion);                 setforprocessing.complete();             }; 

is there wait can wait list of transform blocks complete?

var listoftransformblocks = new list<transformblock<invoice_base[], invoice_completed>>(); 


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -