File tree 2 files changed +7
-5
lines changed
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -311,10 +311,14 @@ The `rl.write()` method will write the data to the `readline` `Interface`'s
311
311
312
312
### rl\[ Symbol.asyncIterator\] ()
313
313
<!-- YAML
314
- added: v10.16.0
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 @@ -32,8 +32,8 @@ const {
32
32
ERR_INVALID_CURSOR_POS ,
33
33
ERR_INVALID_OPT_VALUE
34
34
} = require ( 'internal/errors' ) . codes ;
35
+
35
36
const { debug, inherits } = require ( 'util' ) ;
36
- const { emitExperimentalWarning } = require ( 'internal/util' ) ;
37
37
const { Buffer } = require ( 'buffer' ) ;
38
38
const EventEmitter = require ( 'events' ) ;
39
39
const {
@@ -1005,8 +1005,6 @@ Interface.prototype._ttyWrite = function(s, key) {
1005
1005
} ;
1006
1006
1007
1007
Interface . prototype [ Symbol . asyncIterator ] = function ( ) {
1008
- emitExperimentalWarning ( 'readline Interface [Symbol.asyncIterator]' ) ;
1009
-
1010
1008
if ( this [ kLineObjectStream ] === undefined ) {
1011
1009
if ( Readable === undefined ) {
1012
1010
Readable = require ( 'stream' ) . Readable ;
You can’t perform that action at this time.
0 commit comments