diff --git a/doc/api/stream.md b/doc/api/stream.md index 7d54c92f210..d52b635efad 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -2502,6 +2502,9 @@ and async iterators are provided below. })(); ``` +Async iterators register a permanent error handler on the stream to prevent any +unhandled post-destroy errors. + #### Creating Readable Streams with Async Generators We can construct a Node.js Readable Stream from an asynchronous generator