When set to false, calling return on the async iterator, or exiting a for await...of iteration using a break, return, or throw will not destroy the stream.
interface
stream.default.ReadableIteratorOptions
interface ReadableIteratorOptions
- destroyOnReturn?: boolean