Click or drag to resize

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

Creates a new asynchronous, bulk item ProcessQueue<T> 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.239-beta+5928cebde0dd955df84e791f5ea67acbd192773e
Syntax
public static ProcessQueue<T> CreateAsynchronousQueue(
	ProcessQueue<T> .ProcessItemsFunctionSignature processItemsFunction,
	ProcessQueue<T> .CanProcessItemFunctionSignature canProcessItemFunction,
	int maximumThreads
)
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.
maximumThreads  Int32
An Int32 value that determines the maximum number of threads used to process items.

Return Value

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