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
Post a Comment