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
)
inline
static
Definition at line
49
of file
AsyncHelper.cs
.
50
{
51
if
(!
task
.IsSuccess())
52
{
53
return
CallTaskFuncWhenFinishCoreAsync
(
task
, func,
arg
);
54
}
55
return
func
(
arg
);
56
}
System.Linq.ExceptionArgument.func
@ func
System.Xml.ValueHandleType.Dictionary
@ Dictionary
System.ExceptionArgument.task
@ task
References
System.Xml.Dictionary
, and
System.task
.
System
Xml
AsyncHelper
Generated by
1.10.0