Skip to content

Commit

Permalink
doc: fix typo in dgram docs
Browse files Browse the repository at this point in the history
PR-URL: #50211
Reviewed-By: Marco Ippolito <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
  • Loading branch information
missinglink authored and targos committed Oct 23, 2023
1 parent 8c1a46c commit 82363be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/dgram.md
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ to exclude the socket from the reference counting that keeps the Node.js
process active, allowing the process to exit even if the socket is still
listening.

Calling `socket.unref()` multiple times will have no addition effect.
Calling `socket.unref()` multiple times will have no additional effect.

The `socket.unref()` method returns a reference to the socket so calls can be
chained.
Expand Down

0 comments on commit 82363be

Please sign in to comment.