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

◆ Invoke< T >()

static T ReLogic.OS.Windows.STATaskInvoker.Invoke< T > ( Func< T > action)
inlinestatic

Definition at line 41 of file STATaskInvoker.cs.

42 {
43 if (Instance == null)
44 {
46 }
47 T output = default(T);
48 Instance.InvokeAndWait(delegate
49 {
50 output = action();
51 });
52 return output;
53 }
static STATaskInvoker Instance

References ReLogic.OS.Windows.STATaskInvoker.STATaskInvoker(), System.action, and ReLogic.OS.Windows.STATaskInvoker.Instance.