Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Threading.Tasks.Dataflow.ActionBlock< TInput > Class Template Referencesealed

Classes

class  DebugView
 

Public Member Functions

 ActionBlock (Action< TInput > action)
 
 ActionBlock (Action< TInput > action, ExecutionDataflowBlockOptions dataflowBlockOptions)
 
 ActionBlock (Func< TInput, Task > action)
 
 ActionBlock (Func< TInput, Task > action, ExecutionDataflowBlockOptions dataflowBlockOptions)
 
void Complete ()
 
bool Post (TInput item)
 
override string ToString ()
 
DataflowMessageStatus OfferMessage (DataflowMessageHeader messageHeader, TInput messageValue, ISourceBlock< TInput >? source, bool consumeToAccept)
 

Properties

Task Completion [get]
 
int InputCount [get]
 
int InputCountForDebugger [get]
 
object DebuggerDisplayContent [get]
 
object IDebuggerDisplay. Content [get]
 

Private Member Functions

 ActionBlock (Delegate action, ExecutionDataflowBlockOptions dataflowBlockOptions)
 
void ProcessMessage (Action< TInput > action, KeyValuePair< TInput, long > messageWithId)
 
void ProcessMessageWithTask (Func< TInput, Task > action, KeyValuePair< TInput, long > messageWithId)
 
void AsyncCompleteProcessMessageWithTask (Task completed)
 
void IDataflowBlock. Fault (Exception exception)
 
DataflowMessageStatus ITargetBlock< TInput >. OfferMessage (DataflowMessageHeader messageHeader, TInput messageValue, ISourceBlock< TInput > source, bool consumeToAccept)
 

Private Attributes

readonly TargetCore< TInput_defaultTarget
 
readonly SpscTargetCore< TInput_spscTarget
 

Detailed Description

Definition at line 10 of file ActionBlock.cs.


The documentation for this class was generated from the following file: