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

◆ CallTaskFuncWhenFinishAsync< TArg >()

static Task System.Xml.AsyncHelper.CallTaskFuncWhenFinishAsync< TArg > ( this Task task,
Func< TArg, Task > func,
TArg arg )
inlinestatic

Definition at line 49 of file AsyncHelper.cs.

50 {
51 if (!task.IsSuccess())
52 {
54 }
55 return func(arg);
56 }

References System.Xml.Dictionary, and System.task.