File tree 2 files changed +8
-7
lines changed
2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ const {
48
48
Symbol,
49
49
SymbolFor,
50
50
SymbolAsyncIterator,
51
- SymbolDispose,
52
51
} = primordials ;
53
52
const kRejection = SymbolFor ( 'nodejs.rejection' ) ;
54
53
Original file line number Diff line number Diff line change
1
+ 'use struct' ;
1
2
2
3
const {
3
- validateAbortSignal,
4
- validateFunction,
4
+ validateAbortSignal,
5
+ validateFunction,
5
6
} = require ( 'internal/validators' ) ;
6
7
const {
7
- codes : {
8
- ERR_INVALID_ARG_TYPE ,
9
- } ,
8
+ codes : {
9
+ ERR_INVALID_ARG_TYPE ,
10
+ } ,
10
11
} = require ( 'internal/errors' ) ;
12
+ const { SymbolDispose } = primordials ;
11
13
12
14
let queueMicrotask ;
13
15
let kResistStopPropagation ;
14
16
15
17
/**
16
18
* @param {AbortSignal } signal
17
- * @param {EventListener } listener
19
+ * @param {EventListener } listener
18
20
* @returns {Disposable }
19
21
*/
20
22
function addAbortListener ( signal , listener ) {
You can’t perform that action at this time.
0 commit comments