Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
port missing readline statement from v16.x
  • Loading branch information
batrudinych committed Apr 3, 2022
commit d6123d0259fea1518a6f0f5571820f0ee4b89b9d
3 changes: 3 additions & 0 deletions doc/api/readline.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,9 @@ async function processLineByLine() {
}
```

`readline.createInterface()` will start to consume the input stream once invoked.
Having asynchronous operations between interface creation and asynchronous iteration may result in missed lines.

### rl.line
<!-- YAML
added: v0.1.98
Expand Down