Skip to content

Commit

Permalink
Update doc/api/globals.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott authored Mar 13, 2021
1 parent 54395e4 commit 4d1090e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/globals.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ ever trigger the `'abort'` event once. We recommended that code check
that the `abortSignal.aborted` attribute is `false` before adding an `'abort'`
event listener.

Any event listeners attached to the `AbortSignal` *should* use the
Any event listeners attached to the `AbortSignal` should use the
`{ once: true }` option (or, if using the `EventEmitter` APIs to attach a
listener, use the `once()` method) to ensure that the event listener is
removed as soon as the `'abort'` event is handled. Failure to do so may
Expand Down

0 comments on commit 4d1090e

Please sign in to comment.