/// <summary> /// Occurs when the strategy has completed execution. /// </summary> /// <param name="context">The contextual information about the item produced.</param> protected virtual void OnCompleted(IProducerConsumerContext <TItem> context) { ProcessingContext.Clear(); }