I have two pipelines using multiple Buffer, Batch, and Action blocks from the System.Threading.Tasks.Dataflow namespace. I understand once all work items have been added to the pipeline that the Complete method should be called. However, if the Batch blocks are processing 250 items at a time, will calling the Complete method actual call the Trigger method internal to ensure any pending items are completed.
For example, if the Batch blocks are batching 250 items at a time, 251 items are given to the pipeline, and Complete is called, will the one remaining item be processed by the entire pipeline? If not, I am assuming I will need to implement my own flag and logic to ensure all remaining items are passed through the pipeline as well as the second one?