Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ReturnTrueTaskWhenFinishAsync()

static Task< bool > System.Xml.AsyncHelper.ReturnTrueTaskWhenFinishAsync ( this Task task)
inlinestatic

Definition at line 34 of file AsyncHelper.cs.

35 {
36 if (!task.IsSuccess())
37 {
38 return task.ReturnTrueTaskWhenFinishCoreAsync();
39 }
40 return DoneTaskTrue;
41 }
static readonly Task< bool > DoneTaskTrue
Definition AsyncHelper.cs:7

References System.Xml.AsyncHelper.DoneTaskTrue, and System.task.