-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Description
I'm missing a peekAll on TQueue.
Background: I have a queue and I want to implement a debugging endpoint in my app where I can inspect the queue.
Currently I have to resort to this workaround/hack:
(for {
allItems <- skippedItemsQueue.takeAll
_ <- skippedItemsQueue.offerAll(allItems)
} yield allItems).commitbecause there is only a peek and a peekOption.