Commit a485612
async_wrap: setupHooks now accepts object
The number of callbacks accepted to setupHooks was getting unwieldy.
Instead change the implementation to accept an object with all callbacks
PR-URL: #5756
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Andreas Madsen <amwebdk@gmail.com>1 parent f9d0166 commit a485612Copy full SHA for a485612
File tree
Expand file treeCollapse file tree
6 files changed
+32
-15
lines changedOpen diff view settings
Filter options
- src
- test/parallel
Expand file treeCollapse file tree
6 files changed
+32
-15
lines changedOpen diff view settings
Collapse file
+26-9Lines changed: 26 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
121 | 121 | |
122 | 122 | |
123 | 123 | |
124 | | - |
125 | | - |
| 124 | + |
| 125 | + |
| 126 | + |
| 127 | + |
| 128 | + |
| 129 | + |
| 130 | + |
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | + |
| 135 | + |
| 136 | + |
| 137 | + |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | + |
| 142 | + |
126 | 143 | |
127 | 144 | |
128 | | - |
| 145 | + |
129 | 146 | |
130 | | - |
131 | | - |
132 | | - |
133 | | - |
134 | | - |
135 | | - |
| 147 | + |
| 148 | + |
| 149 | + |
| 150 | + |
| 151 | + |
| 152 | + |
136 | 153 | |
137 | 154 | |
138 | 155 | |
|
Collapse file
test/parallel/test-async-wrap-check-providers.js
Copy file name to clipboardExpand all lines: test/parallel/test-async-wrap-check-providers.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
36 | 36 | |
37 | 37 | |
38 | 38 | |
39 | | - |
| 39 | + |
40 | 40 | |
41 | 41 | |
42 | 42 | |
|
Collapse file
test/parallel/test-async-wrap-disabled-propagate-parent.js
Copy file name to clipboardExpand all lines: test/parallel/test-async-wrap-disabled-propagate-parent.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
31 | 31 | |
32 | 32 | |
33 | 33 | |
34 | | - |
| 34 | + |
35 | 35 | |
36 | 36 | |
37 | 37 | |
|
Collapse file
test/parallel/test-async-wrap-propagate-parent.js
Copy file name to clipboardExpand all lines: test/parallel/test-async-wrap-propagate-parent.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
31 | 31 | |
32 | 32 | |
33 | 33 | |
34 | | - |
| 34 | + |
35 | 35 | |
36 | 36 | |
37 | 37 | |
|
Collapse file
test/parallel/test-async-wrap-throw-no-init.js
Copy file name to clipboardExpand all lines: test/parallel/test-async-wrap-throw-no-init.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
7 | 7 | |
8 | 8 | |
9 | 9 | |
10 | | - |
| 10 | + |
11 | 11 | |
12 | 12 | |
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | 16 | |
17 | | - |
| 17 | + |
18 | 18 | |
19 | 19 | |
20 | 20 | |
|
Collapse file
test/parallel/test-async-wrap-uid.js
Copy file name to clipboardExpand all lines: test/parallel/test-async-wrap-uid.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
6 | 6 | |
7 | 7 | |
8 | 8 | |
9 | | - |
| 9 | + |
10 | 10 | |
11 | 11 | |
12 | 12 | |
|
0 commit comments