interface
stream.default.ReadableIteratorOptions
interface ReadableIteratorOptions
- destroyOnReturn?: boolean
When set to
false, callingreturnon the async iterator, or exiting afor await...ofiteration using abreak,return, orthrowwill not destroy the stream.