capacity

Parameters

capacity

The maximum number of NewMessageEvents that can be queued in the buffer while the consumer is busy. Once exceeded, overflow decides which event to drop. Defaults to Int.MAX_VALUE, which effectively disables overflow.