class Async::LimitedQueue
def initialize(limit = 1, full: Notification.new, **options)
@parameter limit [Integer] The maximum number of items that can be enqueued.
Create a new limited queue.
def initialize(limit = 1, full: Notification.new, **options) super(**options) @limit = limit @full = full end