File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1275,9 +1275,13 @@ myReader.on('readable', () => {
12751275##### readable\[ Symbol.asyncIterator\] ()
12761276<!-- YAML
12771277added: v10.0.0
1278+ changes:
1279+ - version: REPLACEME
1280+ pr-url: https://github.com/nodejs/node/pull/26989
1281+ description: Symbol.asyncIterator support is no longer experimental.
12781282-->
12791283
1280- > Stability: 1 - Experimental
1284+ > Stability: 2 - Stable
12811285
12821286* Returns: {AsyncIterator} to fully consume the stream.
12831287
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ const {
3838 ERR_METHOD_NOT_IMPLEMENTED ,
3939 ERR_STREAM_UNSHIFT_AFTER_END_EVENT
4040} = require ( 'internal/errors' ) . codes ;
41- const { emitExperimentalWarning } = require ( 'internal/util' ) ;
4241
4342// Lazy loaded to improve the startup performance.
4443let StringDecoder ;
@@ -1040,7 +1039,6 @@ Readable.prototype.wrap = function(stream) {
10401039} ;
10411040
10421041Readable . prototype [ Symbol . asyncIterator ] = function ( ) {
1043- emitExperimentalWarning ( 'Readable[Symbol.asyncIterator]' ) ;
10441042 if ( createReadableStreamAsyncIterator === undefined ) {
10451043 createReadableStreamAsyncIterator =
10461044 require ( 'internal/streams/async_iterator' ) ;
You can’t perform that action at this time.
0 commit comments