Class: MessageStream
Provides asynchronous iteration with for await .. of.
Hierarchy
MessageStream
Implements
AsyncIterable
\<Message
>
Methods
[asyncIterator]
▸ [asyncIterator](): AsyncIterator
\<Message
, any
, undefined
>
Returns
AsyncIterator
\<Message
, any
, undefined
>
Implementation of
AsyncIterable.[asyncIterator]