Please feel free to reach out if anything is unclear. Accepts an optional timeout in milliseconds and returns a promise. When the queue is full, new messages are silently discarded. Would it be possible to schedule a short call to discuss the details? This condition looks inverted; should it be greater than instead?
Click to start typing