Skip to content

Commit

Permalink
doc: fix typo in stream.finished documentation
Browse files Browse the repository at this point in the history
PR-URL: #49271
Refs: https://nodejs.org/api/stream.html#streamfinishedstream-options
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Qingyu Deng <i@ayase-lab.com>
  • Loading branch information
aduh95 authored and targos committed Nov 26, 2023
1 parent 879b958 commit f181c37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ run().catch(console.error);
rs.resume(); // Drain the stream.
```

The `finished` API provides [callback version][stream-finished]:
The `finished` API also provides a [callback version][stream-finished].

### Object mode

Expand Down

0 comments on commit f181c37

Please sign in to comment.