ChannelUnbounded.this
this
() @disableNo documentation available for this declaration.
this
(size_t initialCapacity, size_t memoryLimit = 0) @trustedConstruct an unbounded channel with an initial capacity and memory limit.
The channel grows beyond initialCapacity as needed, but trySend returns WOULD_BLOCK when memoryLimit items are buffered.
Parameters
initialCapacity | Starting buffer size. |
memoryLimit | Maximum buffered items before backpressure. 0 = unlimited. |