Requeue adds an op that is presumed to already be covered by activeKeys
(op T)
| 40 | |
| 41 | // Requeue adds an op that is presumed to already be covered by activeKeys |
| 42 | func (f *ExclusiveQueues[T]) Requeue(op T) error { |
| 43 | _, err := f.queue.Enqueue(op) |
| 44 | return err |
| 45 | } |
| 46 | |
| 47 | // Clear unblocks the requested op. This should be called only after a flush has been successful |
| 48 | func (f *ExclusiveQueues[T]) Clear(op T) { |