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 @@ -1286,9 +1286,13 @@ myReader.on('readable', () => {
12861286##### readable\[ Symbol.asyncIterator\] ()
12871287<!-- YAML
12881288added: v10.0.0
1289+ changes:
1290+ - version: REPLACEME
1291+ pr-url: https://github.com/nodejs/node/pull/26989
1292+ description: Symbol.asyncIterator support is no longer experimental.
12891293-->
12901294
1291- > Stability: 1 - Experimental
1295+ > Stability: 2 - Stable
12921296
12931297* Returns: {AsyncIterator} to fully consume the stream.
12941298
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ const {
4646 ERR_METHOD_NOT_IMPLEMENTED ,
4747 ERR_STREAM_UNSHIFT_AFTER_END_EVENT
4848} = require ( 'internal/errors' ) . codes ;
49- const { emitExperimentalWarning } = require ( 'internal/util' ) ;
5049
5150// Lazy loaded to improve the startup performance.
5251let StringDecoder ;
@@ -1036,7 +1035,6 @@ Readable.prototype.wrap = function(stream) {
10361035} ;
10371036
10381037Readable . prototype [ Symbol . asyncIterator ] = function ( ) {
1039- emitExperimentalWarning ( 'Readable[Symbol.asyncIterator]' ) ;
10401038 if ( createReadableStreamAsyncIterator === undefined ) {
10411039 createReadableStreamAsyncIterator =
10421040 require ( 'internal/streams/async_iterator' ) ;
You can’t perform that action at this time.
0 commit comments