Commit 232a486 1 parent 07df234 commit 232a486 Copy full SHA for 232a486
File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -409,7 +409,7 @@ added: v0.3.0
409
409
* ` eventName ` {any} The name of the event.
410
410
* ` listener ` {Function} The callback function
411
411
412
- Adds a ** one time** ` listener ` function for the event named ` eventName ` . The
412
+ Adds a ** one- time** ` listener ` function for the event named ` eventName ` . The
413
413
next time ` eventName ` is triggered, this listener is removed and then invoked.
414
414
415
415
``` js
@@ -464,7 +464,7 @@ added: v6.0.0
464
464
* ` eventName ` {any} The name of the event.
465
465
* ` listener ` {Function} The callback function
466
466
467
- Adds a ** one time** ` listener ` function for the event named ` eventName ` to the
467
+ Adds a ** one- time** ` listener ` function for the event named ` eventName ` to the
468
468
* beginning* of the listeners array. The next time ` eventName ` is triggered, this
469
469
listener is removed, and then invoked.
470
470
Original file line number Diff line number Diff line change @@ -1785,7 +1785,7 @@ This function allows one to transparently issue requests.
1785
1785
string, it is automatically parsed with [ ` url.parse() ` ] [ ] . If it is a [ ` URL ` ] [ ]
1786
1786
object, it will be automatically converted to an ordinary ` options ` object.
1787
1787
1788
- The optional ` callback ` parameter will be added as a one time listener for
1788
+ The optional ` callback ` parameter will be added as a one- time listener for
1789
1789
the [ ` 'response' ` ] [ ] event.
1790
1790
1791
1791
` http.request() ` returns an instance of the [ ` http.ClientRequest ` ] [ ]
Original file line number Diff line number Diff line change @@ -802,7 +802,7 @@ socket.on('timeout', () => {
802
802
803
803
If ` timeout ` is 0, then the existing idle timeout is disabled.
804
804
805
- The optional ` callback ` parameter will be added as a one time listener for the
805
+ The optional ` callback ` parameter will be added as a one- time listener for the
806
806
[ ` 'timeout' ` ] [ ] event.
807
807
808
808
### socket.unref()
You can’t perform that action at this time.
0 commit comments