DeliveryPolicy

constructor(capacity: Int = DEFAULT_CAPACITY, overflow: Overflow = Overflow.SUSPEND)

Parameters

capacity

frames buffered per receiver, from 1 up to Int.MAX_VALUE - 1. Int.MAX_VALUE is refused because it is Channel.UNLIMITED: a channel built with it has no bound and ignores overflow, so asking for a very large buffer would quietly ask for an unbounded one.