Terraria v1.4.4.9
Terraria source code documentation
|
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, bool > | s_handleCompletion |
static readonly Action< object > | s_cancelAndUnlink = CancelAndUnlink |
Properties | |
Task IDataflowBlock. | Completion [get] |
object | DebuggerDisplayContent [get] |
object IDebuggerDisplay. | Content [get] |
Task | Task [get] |
Task< TResult > | Task [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 |
Definition at line 642 of file DataflowBlock.cs.