Skip to content

Commit 302a7af

Browse files
committed
Merge pull request #311 from dlau/patch-1
Clarify event call order in abort case
2 parents 5bf869a + 9786f80 commit 302a7af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ form.on('error', function(err) {
249249
#### 'aborted'
250250

251251

252-
Emitted when the request was aborted by the user. Right now this can be due to a 'timeout' or 'close' event on the socket. In the future there will be a separate 'timeout' event (needs a change in the node core).
252+
Emitted when the request was aborted by the user. Right now this can be due to a 'timeout' or 'close' event on the socket. After this event is emitted, an `error` event will follow. In the future there will be a separate 'timeout' event (needs a change in the node core).
253253
```javascript
254254
form.on('aborted', function() {
255255
});

0 commit comments

Comments
 (0)