Creates a channel from an async iterable.
The async iterable to stream values from.
Maximum number of pending writes. Defaults to 0.
A channel that closes after the async iterable is exhausted, or fails if iteration throws.
T - The type of values in the channel.
Creates a channel from an async iterable.