Exemple #1
0
        public bool Next(out EventActionNode actionNode)
        {
            if (Interlocked.CompareExchange(
                    ref this.currentRunningState,
                    RUNNING,
                    IDLE) == IDLE)
            {
                return(this.eventQueue.Next(out actionNode));
            }

            actionNode = null;
            return(false);
        }
Exemple #2
0
 public bool Skip(EventActionNode node)
 {
     return(this.eventQueue.AddDefer(node));
 }