Click or drag to resize

ProcessQueue<T> .CreateAsynchronousQueue(ProcessQueue<T> .ProcessItemsFunctionSignature, ProcessQueue<T> .CanProcessItemFunctionSignature) Method

Creates a new asynchronous, bulk item ProcessQueue<T> with the default settings: ProcessInterval = 100, MaximumThreads = 5, ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.245-beta+94213ae9d4d0aa7a2c48e5398b12d267b99f868a
Syntax
public static ProcessQueue<T> CreateAsynchronousQueue(
	ProcessQueue<T> .ProcessItemsFunctionSignature processItemsFunction,
	ProcessQueue<T> .CanProcessItemFunctionSignature canProcessItemFunction
)
View Source

Parameters

processItemsFunction  ProcessQueue<T>.ProcessItemsFunctionSignature
Delegate that defines a method to process multiple items at once.
canProcessItemFunction  ProcessQueue<T>.CanProcessItemFunctionSignature
Delegate which determines whether an item can be processed.

Return Value

ProcessQueue<T>
A ProcessQueue object based on type T.
See Also