Click or drag to resize

ProcessQueueTCreateSynchronousQueue(ProcessQueueTProcessItemsFunctionSignature, ProcessQueueTCanProcessItemFunctionSignature) Method

Creates a new synchronous, bulk item ProcessQueueT (i.e., single process thread) with the default settings: ProcessInterval = 100, ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public static ProcessQueue<T> CreateSynchronousQueue(
	ProcessQueueTProcessItemsFunctionSignature processItemsFunction,
	ProcessQueueTCanProcessItemFunctionSignature canProcessItemFunction
)
View Source

Parameters

processItemsFunction  ProcessQueueTProcessItemsFunctionSignature
Delegate that defines a method to process multiple items at once.
canProcessItemFunction  ProcessQueueTCanProcessItemFunctionSignature
Delegate which determines whether an item can be processed.

Return Value

ProcessQueueT
A ProcessQueue object based on type T.
See Also