destroyOnReturn
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.
Default: true
.
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.
Default: true
.