Resolves with the next chunk, or with done: true when the stream ends. Rejects when
the connection terminates before the server ends the stream. A chunk delivered together
with done: true is discarded, so the iterator must deliver the last chunk on its own.
Optional returnGenerated using TypeDoc
The source of response chunks. A platform provides the iterator from its own stream type. For example, a Node
IncomingMessageprovides a compatible iterator through itsSymbol.asyncIteratormethod.