class Async::LimitedQueue
def limited?
-
(Boolean)
- Whether trying to enqueue an item would block.
def limited? @items.size >= @limit end
(Boolean)
- Whether trying to enqueue an item would block.
def limited? @items.size >= @limit end