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

◆ GetResult()

bool IValueTaskSource< bool >. System.Threading.PeriodicTimer.State.GetResult ( short token)
inlineprivate

Definition at line 78 of file PeriodicTimer.cs.

79 {
80 _ctr.Dispose();
81 lock (this)
82 {
83 try
84 {
85 _mrvtsc.GetResult(token);
86 }
87 finally
88 {
89 _mrvtsc.Reset();
90 _ctr = default(CancellationTokenRegistration);
91 _activeWait = false;
92 _owner = null;
93 if (!_stopped)
94 {
95 _signaled = false;
96 }
97 }
98 return !_stopped;
99 }
100 }
CancellationTokenRegistration _ctr
ManualResetValueTaskSourceCore< bool > _mrvtsc

References System.Threading.PeriodicTimer.State._activeWait, System.Threading.PeriodicTimer.State._ctr, System.Threading.PeriodicTimer.State._mrvtsc, System.Threading.PeriodicTimer.State._owner, System.Threading.PeriodicTimer.State._signaled, System.Threading.PeriodicTimer.State._stopped, System.Threading.CancellationTokenRegistration.Dispose(), System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore< TResult >.GetResult(), and System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore< TResult >.Reset().