Buffer size (default: 10)
Get the channel's capacity
Check if channel is closed
Get current buffer length
Get the number of blocked receivers waiting
Get the number of blocked senders waiting
Async iterator support for for-await-of loops
Close the channel No more sends allowed, but remaining values can be received
Send a value to the channel Blocks if the buffer is full until space is available
The value to send
Create a new channel with the specified buffer capacity.