diff --git a/doc/api/readline.md b/doc/api/readline.md index 4db4b0f899cae6..b14a4007922f41 100644 --- a/doc/api/readline.md +++ b/doc/api/readline.md @@ -312,9 +312,13 @@ The `rl.write()` method will write the data to the `readline` `Interface`'s ### rl\[Symbol.asyncIterator\]() -> Stability: 1 - Experimental +> Stability: 2 - Stable * Returns: {AsyncIterator} diff --git a/lib/readline.js b/lib/readline.js index 67e71fee4164fc..8539e84daa5420 100644 --- a/lib/readline.js +++ b/lib/readline.js @@ -33,7 +33,6 @@ const { } = require('internal/errors').codes; const { validateString } = require('internal/validators'); const { inspect } = require('internal/util/inspect'); -const { emitExperimentalWarning } = require('internal/util'); const EventEmitter = require('events'); const { CSI, @@ -1068,8 +1067,6 @@ Interface.prototype._ttyWrite = function(s, key) { }; Interface.prototype[Symbol.asyncIterator] = function() { - emitExperimentalWarning('readline Interface [Symbol.asyncIterator]'); - if (this[kLineObjectStream] === undefined) { if (Readable === undefined) { Readable = require('stream').Readable;