diff options
| author | James M Snell <jasnell@gmail.com> | 2021-03-10 08:59:52 -0800 |
|---|---|---|
| committer | James M Snell <jasnell@gmail.com> | 2021-03-15 08:20:25 -0700 |
| commit | 263bf4e2e7679ecd1324a88d4bd131afa63075b5 (patch) | |
| tree | cb52c5c09b10b7428f3f42938c64dcc3fe95b222 /doc/api/globals.md | |
| parent | 8e8dea36cc98050371bdc2a3c462399b78a6c0f2 (diff) | |
| download | node-new-263bf4e2e7679ecd1324a88d4bd131afa63075b5.tar.gz | |
lib: implement AbortSignal.abort()
Refs: https://github.com/whatwg/dom/pull/960
PR-URL: https://github.com/nodejs/node/pull/37693
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Diffstat (limited to 'doc/api/globals.md')
| -rw-r--r-- | doc/api/globals.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/api/globals.md b/doc/api/globals.md index be3c6d6ad9..7b8c7249f5 100644 --- a/doc/api/globals.md +++ b/doc/api/globals.md @@ -67,6 +67,15 @@ added: v15.0.0 The `AbortSignal` is used to notify observers when the `abortController.abort()` method is called. +#### Static method: `AbortSignal.abort()` +<!-- YAML +added: REPLACEME +--> + +* Returns: {AbortSignal} + +Returns a new already aborted `AbortSignal`. + #### Event: `'abort'` <!-- YAML added: v15.0.0 |
