Exemple #1
0
 public override void Run(LTimerContext time)
 {
     if (timer != null)
     {
         timer.Action(time);
         if (timer.IsClosed() || timer.IsCompleted())
         {
             Kill();
         }
     }
 }
Exemple #2
0
 public virtual bool IsClosed()
 {
     return(_loop_timer.IsClosed());
 }