File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -312,9 +312,13 @@ The `rl.write()` method will write the data to the `readline` `Interface`'s
312
312
### rl\[ Symbol.asyncIterator\] ()
313
313
<!-- YAML
314
314
added: v11.4.0
315
+ changes:
316
+ - version: REPLACEME
317
+ pr-url: https://github.com/nodejs/node/pull/26989
318
+ description: AsyncIterator support is not experimental anymore.
315
319
-->
316
320
317
- > Stability: 1 - Experimental
321
+ > Stability: 2 - Stable
318
322
319
323
* Returns: {AsyncIterator}
320
324
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ const {
33
33
} = require ( 'internal/errors' ) . codes ;
34
34
const { validateString } = require ( 'internal/validators' ) ;
35
35
const { inspect } = require ( 'internal/util/inspect' ) ;
36
- const { emitExperimentalWarning } = require ( 'internal/util' ) ;
37
36
const EventEmitter = require ( 'events' ) ;
38
37
const {
39
38
CSI ,
@@ -1068,8 +1067,6 @@ Interface.prototype._ttyWrite = function(s, key) {
1068
1067
} ;
1069
1068
1070
1069
Interface . prototype [ Symbol . asyncIterator ] = function ( ) {
1071
- emitExperimentalWarning ( 'readline Interface [Symbol.asyncIterator]' ) ;
1072
-
1073
1070
if ( this [ kLineObjectStream ] === undefined ) {
1074
1071
if ( Readable === undefined ) {
1075
1072
Readable = require ( 'stream' ) . Readable ;
You can’t perform that action at this time.
0 commit comments