summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/api/stream.md6
-rw-r--r--lib/_stream_readable.js2
2 files changed, 5 insertions, 3 deletions
diff --git a/doc/api/stream.md b/doc/api/stream.md
index e4bb2fc379..03fe965546 100644
--- a/doc/api/stream.md
+++ b/doc/api/stream.md
@@ -1286,9 +1286,13 @@ myReader.on('readable', () => {
##### readable\[Symbol.asyncIterator\]()
<!-- YAML
added: v10.0.0
+changes:
+ - version: REPLACEME
+ pr-url: https://github.com/nodejs/node/pull/26989
+ description: Symbol.asyncIterator support is no longer experimental.
-->
-> Stability: 1 - Experimental
+> Stability: 2 - Stable
* Returns: {AsyncIterator} to fully consume the stream.
diff --git a/lib/_stream_readable.js b/lib/_stream_readable.js
index cbbfd0ba59..43b5b43fc7 100644
--- a/lib/_stream_readable.js
+++ b/lib/_stream_readable.js
@@ -45,7 +45,6 @@ const {
ERR_METHOD_NOT_IMPLEMENTED,
ERR_STREAM_UNSHIFT_AFTER_END_EVENT
} = require('internal/errors').codes;
-const { emitExperimentalWarning } = require('internal/util');
// Lazy loaded to improve the startup performance.
let StringDecoder;
@@ -1036,7 +1035,6 @@ Readable.prototype.wrap = function(stream) {
};
Readable.prototype[Symbol.asyncIterator] = function() {
- emitExperimentalWarning('Readable[Symbol.asyncIterator]');
if (createReadableStreamAsyncIterator === undefined) {
createReadableStreamAsyncIterator =
require('internal/streams/async_iterator');