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 @@ -1275,9 +1275,13 @@ myReader.on('readable', () => {
1275
1275
##### readable\[ Symbol.asyncIterator\] ()
1276
1276
<!-- YAML
1277
1277
added: 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.
1278
1282
-->
1279
1283
1280
- > Stability: 1 - Experimental
1284
+ > Stability: 2 - Stable
1281
1285
1282
1286
* Returns: {AsyncIterator} to fully consume the stream.
1283
1287
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ const {
38
38
ERR_METHOD_NOT_IMPLEMENTED ,
39
39
ERR_STREAM_UNSHIFT_AFTER_END_EVENT
40
40
} = require ( 'internal/errors' ) . codes ;
41
- const { emitExperimentalWarning } = require ( 'internal/util' ) ;
42
41
43
42
// Lazy loaded to improve the startup performance.
44
43
let StringDecoder ;
@@ -1040,7 +1039,6 @@ Readable.prototype.wrap = function(stream) {
1040
1039
} ;
1041
1040
1042
1041
Readable . prototype [ Symbol . asyncIterator ] = function ( ) {
1043
- emitExperimentalWarning ( 'Readable[Symbol.asyncIterator]' ) ;
1044
1042
if ( createReadableStreamAsyncIterator === undefined ) {
1045
1043
createReadableStreamAsyncIterator =
1046
1044
require ( 'internal/streams/async_iterator' ) ;
You can’t perform that action at this time.
0 commit comments