diff --git a/doc/api/readline.md b/doc/api/readline.md index cb1aa52605dc4a..31df836759caa2 100644 --- a/doc/api/readline.md +++ b/doc/api/readline.md @@ -272,6 +272,14 @@ the `'close'` event will be emitted. Calling `rl.close()` does not immediately stop other events (including `'line'`) from being emitted by the `InterfaceConstructor` instance. +### `rl[Symbol.dispose]()` + + + +Alias for `rl.close()`. + ### `rl.pause()`