Ejemplo n.º 1
0
 private void DequeueDelayed(T obj, int delay)
 {
     _parallelOperations.ScheduleExecution(DelayedExecute, obj, delay, -1);
 }
Ejemplo n.º 2
0
 /// <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);
 }