Click or drag to resize

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

Creates a new synchronous, bulk item ProcessQueue<T> (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.244-beta+cf93f5f8aea4b941e9b426fe4e180c2bd85d31a2
Syntax
public static ProcessQueue<T> CreateSynchronousQueue(
	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