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

Public Member Functions

void SetException (Exception exception)
 
void SetException (IEnumerable< Exception > exceptions)
 
void SetException (Exception exception)
 
void SetException (IEnumerable< Exception > exceptions)
 
bool TrySetException (Exception exception)
 
bool TrySetException (IEnumerable< Exception > exceptions)
 
bool TrySetException (Exception exception)
 
bool TrySetException (IEnumerable< Exception > exceptions)
 
void SetResult ()
 
void SetResult (TResult result)
 
bool TrySetResult ()
 
bool TrySetResult (TResult result)
 
void SetCanceled ()
 
void SetCanceled (CancellationToken cancellationToken)
 
void SetCanceled ()
 
void SetCanceled (CancellationToken cancellationToken)
 
bool TrySetCanceled ()
 
bool TrySetCanceled (CancellationToken cancellationToken)
 
bool TrySetCanceled ()
 
bool TrySetCanceled (CancellationToken cancellationToken)
 
DataflowMessageStatus OfferMessage (DataflowMessageHeader messageHeader, TInput messageValue, ISourceBlock< TInput >? source, bool consumeToAccept)
 

Package Functions

void AttemptThreadSafeUnlink ()
 

Package Attributes

IDisposable _unlinker
 
CancellationTokenRegistration _ctr
 

Static Package Attributes

static readonly Func< Task< bool >, object, bools_handleCompletion
 
static readonly Action< object > s_cancelAndUnlink = CancelAndUnlink
 

Properties

Task IDataflowBlock. Completion [get]
 
object DebuggerDisplayContent [get]
 
object IDebuggerDisplay. Content [get]
 
Task Task [get]
 
Task< TResultTask [get]
 

Private Member Functions

DataflowMessageStatus ITargetBlock< T >. OfferMessage (DataflowMessageHeader messageHeader, T messageValue, ISourceBlock< T > source, bool consumeToAccept)
 
void IDataflowBlock. Complete ()
 
void IDataflowBlock. Fault (Exception exception)
 

Static Private Member Functions

static void CancelAndUnlink (object state)
 

Private Attributes

readonly Task _task
 
readonly Task< TResult_task
 

Detailed Description

Definition at line 642 of file DataflowBlock.cs.


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