AddProc(processItem)
Signature: (processItem:('T -> ManualResetEvent)) -> string
|
Register a processor for the component - same as RegisterProc, but default name is created and returned
A function which does processing, returns event if cannot complete
The internal name of the processor - can use for unregistering
|
Close()
Signature: unit -> unit -> unit
|
A function to execute when no more items are in queue and IsClosed returns true
|
Close()
Signature: unit -> unit
|
A function to execute when no more items are in queue and IsClosed returns true
|
Dequeue()
Signature: unit -> 'T ref -> bool * ManualResetEvent
|
A function which dequeues data from the internal BaseQ
|
Dequeue()
Signature: unit -> unit
|
A function which dequeues data from the internal BaseQ
|
GetOrAddProc(name, processItem)
Signature: (name:string * processItem:('T -> ManualResetEvent)) -> unit
|
Get or add a new processor for the component with name
If this is used, the Proc property does not need to be set
The name of the processing component - used for unregistering
A function which does processing, returns event if cannot complete
|
InitMultipleProcess()
Signature: unit -> unit
|
Initialize the use of multiple processors - this is useful if multiple actions need to be performed
on each item in the queue - use AddProc/RegisterProc to add processing, UnregisterProc to remove processing
|
IsClosed()
Signature: unit -> unit -> bool
|
A (unit->bool) function which returns true/false to tell if any more data needs to be processed
|
IsClosed()
Signature: unit -> unit
|
A (unit->bool) function which returns true/false to tell if any more data needs to be processed
|
Proc()
Signature: unit -> 'T -> bool * ManualResetEvent
|
A function which processes each item, if multiple processing needs to take place, use
AddProc or RegisterItem to add processing and UnregisterItem to remove processing
|
Proc()
Signature: unit -> unit
|
A function which processes each item, if multiple processing needs to take place, use
AddProc or RegisterItem to add processing and UnregisterItem to remove processing
|
Q()
Signature: unit -> BaseQ<'T>
|
The internal component Q into which elements are queued for processing
|
Q()
Signature: unit -> unit
|
The internal component Q into which elements are queued for processing
|
RegisterProc(name, processItem)
Signature: (name:string * processItem:('T -> ManualResetEvent)) -> unit
|
Register a processor for the component with name
If this is used, the Proc property does not need to be set
The name of the processing component - used for unregistering
A function which does processing, returns event if cannot complete
|
ReleaseAllItems()
Signature: unit -> unit
|
|
ReleaseItem()
Signature: unit -> 'T ref -> unit
|
A function which gets executed once an item is finished processing
|
ReleaseItem()
Signature: unit -> unit
|
A function which gets executed once an item is finished processing
|
SelfClose()
Signature: unit -> unit
Modifiers: abstract
|
Self close the component and start closing the pipeline
|
SelfTerminate()
Signature: unit -> unit
Modifiers: abstract
|
Self terminate the component and start terminating the pipeline
|
Terminate()
Signature: unit -> unit -> unit
|
A function to execute for non-graceful termination, i.e. without waiting for queue to empty
|
Terminate()
Signature: unit -> unit
|
A function to execute for non-graceful termination, i.e. without waiting for queue to empty
|
UnregisterProc(name)
Signature: name:string -> unit
|
Unregister a processor for the component
The name of the processing to be removed
|