Clear unblocks the requested op. This should be called only after a flush has been successful
(op T)
| 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) { |
| 49 | f.activeKeys.Delete(op.Key()) |
| 50 | } |
| 51 | |
| 52 | func (f *ExclusiveQueues[T]) IsEmpty() bool { |
| 53 | length := 0 |