示例#1
0
 public void IntervalSignal(IScheduled <object?> scheduled, object?data)
 {
     if (!executed.Get() && !TimedOut.Get())
     {
         TimedOut.Set(true);
         Parent?.TimedOut.Set(true);
         HasFailedValue.Set(true);
     }
 }
示例#2
0
        internal override void InnerInvoke(BasicCompletes completedCompletes)
        {
            if (TimedOut.Get() || executed.Get())
            {
                return;
            }

            base.InnerInvoke(completedCompletes);
            executed.Set(true);
        }
示例#3
0
        internal override bool InnerInvoke(BasicCompletes completedCompletes)
        {
            if (TimedOut.Get() || _executed.Get())
            {
                return(false);
            }

            base.InnerInvoke(completedCompletes);
            _executed.Set(true);
            return(true);
        }