Files
node/lib/internal
James M Snell e08df49d7a lib: add reason to AbortSignal
A new reason property was recently added to the AbortSignal spec.

```js
const ac = new AbortController();
ac.abort(new Error('boom!'));
console.loc(ac.signal.reason);  // Error('boom!');
```

Signed-off-by: James M Snell <jasnell@gmail.com>

PR-URL: https://github.com/nodejs/node/pull/40807
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
2022-01-31 22:59:59 -05:00
..
2021-10-13 10:20:52 +02:00
2021-10-12 10:32:06 -04:00
2022-01-31 22:59:26 -05:00
2021-07-13 08:11:48 +02:00
2021-10-04 20:32:17 +02:00
2021-03-23 11:03:18 -05:00
2021-08-23 13:22:14 +02:00
2021-08-16 16:35:23 -04:00
2021-01-27 20:46:54 +02:00
2021-08-16 16:35:23 -04:00
2021-08-16 16:34:20 -04:00
2020-12-07 10:08:03 -08:00
2021-11-04 11:23:00 +01:00
2020-12-29 15:49:09 +00:00
2021-04-08 10:33:09 +02:00
2021-10-04 20:31:27 +02:00

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These modules can be changed at any time. Reliance on these modules outside of core is not supported in any way.