Click or drag to resize

ProcessQueueTCreateSynchronousQueue(ProcessQueueTProcessItemFunctionSignature, ProcessQueueTCanProcessItemFunctionSignature) Method

Creates a new synchronous 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.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntax
public static ProcessQueue<T> CreateSynchronousQueue(
	ProcessQueueTProcessItemFunctionSignature processItemFunction,
	ProcessQueueTCanProcessItemFunctionSignature canProcessItemFunction
)
View Source

Parameters

processItemFunction  ProcessQueueTProcessItemFunctionSignature
Delegate that processes one item at a time.
canProcessItemFunction  ProcessQueueTCanProcessItemFunctionSignature
Delegate which determines whether an item can be processed.

Return Value

ProcessQueueT
A ProcessQueue object based on type T.
See Also