File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1286,9 +1286,13 @@ myReader.on('readable', () => {
1286
1286
##### readable\[ Symbol.asyncIterator\] ()
1287
1287
<!-- YAML
1288
1288
added: 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.
1289
1293
-->
1290
1294
1291
- > Stability: 1 - Experimental
1295
+ > Stability: 2 - Stable
1292
1296
1293
1297
* Returns: {AsyncIterator} to fully consume the stream.
1294
1298
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ const {
46
46
ERR_METHOD_NOT_IMPLEMENTED ,
47
47
ERR_STREAM_UNSHIFT_AFTER_END_EVENT
48
48
} = require ( 'internal/errors' ) . codes ;
49
- const { emitExperimentalWarning } = require ( 'internal/util' ) ;
50
49
51
50
// Lazy loaded to improve the startup performance.
52
51
let StringDecoder ;
@@ -1036,7 +1035,6 @@ Readable.prototype.wrap = function(stream) {
1036
1035
} ;
1037
1036
1038
1037
Readable . prototype [ Symbol . asyncIterator ] = function ( ) {
1039
- emitExperimentalWarning ( 'Readable[Symbol.asyncIterator]' ) ;
1040
1038
if ( createReadableStreamAsyncIterator === undefined ) {
1041
1039
createReadableStreamAsyncIterator =
1042
1040
require ( 'internal/streams/async_iterator' ) ;
You can’t perform that action at this time.
0 commit comments