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: Symbol.asyncIterator support is no longer experimental.
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 { inspect, inherits } = require ( 'util' ) ;
35
35
const { validateString } = require ( 'internal/validators' ) ;
36
- const { emitExperimentalWarning } = require ( 'internal/util' ) ;
37
36
const { Buffer } = require ( 'buffer' ) ;
38
37
const EventEmitter = require ( 'events' ) ;
39
38
const {
@@ -1030,8 +1029,6 @@ Interface.prototype._ttyWrite = function(s, key) {
1030
1029
} ;
1031
1030
1032
1031
Interface . prototype [ Symbol . asyncIterator ] = function ( ) {
1033
- emitExperimentalWarning ( 'readline Interface [Symbol.asyncIterator]' ) ;
1034
-
1035
1032
if ( this [ kLineObjectStream ] === undefined ) {
1036
1033
if ( Readable === undefined ) {
1037
1034
Readable = require ( 'stream' ) . Readable ;
You can’t perform that action at this time.
0 commit comments