private void DequeueDelayed(T obj, int delay) { _parallelOperations.ScheduleExecution(DelayedExecute, obj, delay, -1); }
/// <summary> /// Method called from the state machine to delay the dequeuing of the item /// </summary> void IDelayQueueContext.DequeueDelayed(object next, int queueDelay) { _parallelOperations.ScheduleExecution(DelayedExecute, next, queueDelay, -1); }