Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Xml.AsyncHelper Class Reference

Static Public Member Functions

static bool IsSuccess (this Task task)
 
static Task CallVoidFuncWhenFinishAsync< TArg > (this Task task, Action< TArg > func, TArg arg)
 
static Task< boolReturnTrueTaskWhenFinishAsync (this Task task)
 
static Task CallTaskFuncWhenFinishAsync< TArg > (this Task task, Func< TArg, Task > func, TArg arg)
 
static Task< boolCallBoolTaskFuncWhenFinishAsync< TArg > (this Task task, Func< TArg, Task< bool > > func, TArg arg)
 
static Task< boolContinueBoolTaskFuncWhenFalseAsync< TArg > (this Task< bool > task, Func< TArg, Task< bool > > func, TArg arg)
 

Static Public Attributes

static readonly Task< boolDoneTaskTrue = Task.FromResult(result: true)
 
static readonly Task< boolDoneTaskFalse = Task.FromResult(result: false)
 
static readonly Task< int > DoneTaskZero = Task.FromResult(0)
 

Static Private Member Functions

static async Task CallVoidFuncWhenFinishCoreAsync< TArg > (this Task task, Action< TArg > func, TArg arg)
 
static async Task< boolReturnTrueTaskWhenFinishCoreAsync (this Task task)
 
static async Task CallTaskFuncWhenFinishCoreAsync< TArg > (Task task, Func< TArg, Task > func, TArg arg)
 
static async Task< boolCallBoolTaskFuncWhenFinishCoreAsync< TArg > (this Task task, Func< TArg, Task< bool > > func, TArg arg)
 
static async Task< boolContinueBoolTaskFuncWhenFalseCoreAsync< TArg > (Task< bool > task, Func< TArg, Task< bool > > func, TArg arg)
 

Detailed Description

Definition at line 5 of file AsyncHelper.cs.


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