File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -404,7 +404,7 @@ added: v0.3.0
404
404
* ` eventName ` {string|symbol} The name of the event.
405
405
* ` listener ` {Function} The callback function
406
406
407
- Adds a ** one time** ` listener ` function for the event named ` eventName ` . The
407
+ Adds a ** one- time** ` listener ` function for the event named ` eventName ` . The
408
408
next time ` eventName ` is triggered, this listener is removed and then invoked.
409
409
410
410
``` js
@@ -459,7 +459,7 @@ added: v6.0.0
459
459
* ` eventName ` {string|symbol} The name of the event.
460
460
* ` listener ` {Function} The callback function
461
461
462
- Adds a ** one time** ` listener ` function for the event named ` eventName ` to the
462
+ Adds a ** one- time** ` listener ` function for the event named ` eventName ` to the
463
463
* beginning* of the listeners array. The next time ` eventName ` is triggered, this
464
464
listener is removed, and then invoked.
465
465
Original file line number Diff line number Diff line change @@ -1570,7 +1570,7 @@ This function allows one to transparently issue requests.
1570
1570
` options ` can be an object or a string. If ` options ` is a string, it is
1571
1571
automatically parsed with [ ` url.parse() ` ] [ ] .
1572
1572
1573
- The optional ` callback ` parameter will be added as a one time listener for
1573
+ The optional ` callback ` parameter will be added as a one- time listener for
1574
1574
the [ ` 'response' ` ] [ ] event.
1575
1575
1576
1576
` http.request() ` returns an instance of the [ ` http.ClientRequest ` ] [ ]
Original file line number Diff line number Diff line change @@ -694,7 +694,7 @@ or [`destroy()`][] the socket.
694
694
695
695
If ` timeout ` is 0, then the existing idle timeout is disabled.
696
696
697
- The optional ` callback ` parameter will be added as a one time listener for the
697
+ The optional ` callback ` parameter will be added as a one- time listener for the
698
698
[ ` 'timeout' ` ] [ ] event.
699
699
700
700
### socket.unref()
You can’t perform that action at this time.
0 commit comments