Click or drag to resize

ProcessQueueTProcessingStyle Property

Gets the item QueueProcessingStyle for the ProcessQueueT (i.e., one at a time or many at once).

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntax
public virtual QueueProcessingStyle ProcessingStyle { get; }
View Source

Return Value

QueueProcessingStyle

OneAtATime, if the ProcessItemFunction is implemented.

ManyAtOnce, if the ProcessItemsFunction is implemented.

Remarks

The implemented item processing function determines the QueueProcessingStyle.

If the QueueProcessingStyle is ManyAtOnce, all available items in the ProcessQueueT are presented for processing at each processing interval. If you expect items to be processed in the order in which they were received, make sure you use a synchronous ProcessQueueT. Real-time ProcessQueueT are inherently synchronous.

See Also