public void IntervalSignal(IScheduled <object?> scheduled, object?data) { if (!executed.Get() && !TimedOut.Get()) { TimedOut.Set(true); Parent?.TimedOut.Set(true); HasFailedValue.Set(true); } }
internal override void InnerInvoke(BasicCompletes completedCompletes) { if (TimedOut.Get() || executed.Get()) { return; } base.InnerInvoke(completedCompletes); executed.Set(true); }
internal override bool InnerInvoke(BasicCompletes completedCompletes) { if (TimedOut.Get() || _executed.Get()) { return(false); } base.InnerInvoke(completedCompletes); _executed.Set(true); return(true); }