|
ProcessQueueTCanProcessItemFunctionSignature Delegate
|
Function signature that determines if an item can be currently processed.
Namespace: GSF.CollectionsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntaxpublic delegate bool CanProcessItemFunctionSignature(
T item
)
Public Delegate Function CanProcessItemFunctionSignature (
item As T
) As Boolean
public delegate bool CanProcessItemFunctionSignature(
T item
)
type CanProcessItemFunctionSignature =
delegate of
item : 'T -> bool
Parameters
- item T
- Item to be checked for processing availability.
Return Value
BooleanTrue, if item can be processed. The default is true.
RemarksImplementation of this function is optional. It is assumed that an item can be processed if this
function is not defined
Items must eventually get to a state where they can be processed, or they will remain in the ProcessQueueT
indefinitely.
Note that when this function is implemented and ProcessingStyle = ManyAtOnce (i.e.,
ProcessItemsFunction is defined), then each item presented for
processing must evaluate as "CanProcessItem = True" before any items are processed.
See Also