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 Nov 11, 2023
1 parent f37b577 commit ffa9461
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 @@ -902,7 +902,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 ffa9461

Please sign in to comment.