Commit 13d465b
async_wrap: add uid to all asyncWrap hooks
By doing this users can use a Map object for storing information
instead of modifying the handle object.
Ref: #7048
PR-URL: #4600
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>1 parent 68f391b commit 13d465bCopy full SHA for 13d465b
File tree
Expand file treeCollapse file tree
2 files changed
+60
-2
lines changedOpen diff view settings
Filter options
- src
- test/parallel
Expand file treeCollapse file tree
2 files changed
+60
-2
lines changedOpen diff view settings
Collapse file
+3-2Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
179 | 179 | |
180 | 180 | |
181 | 181 | |
| 182 | + |
182 | 183 | |
183 | 184 | |
184 | 185 | |
| ||
207 | 208 | |
208 | 209 | |
209 | 210 | |
210 | | - |
| 211 | + |
211 | 212 | |
212 | 213 | |
213 | 214 | |
214 | 215 | |
215 | 216 | |
216 | 217 | |
217 | | - |
| 218 | + |
218 | 219 | |
219 | 220 | |
220 | 221 | |
|
Collapse file
test/parallel/test-async-wrap-uid.js
Copy file name to clipboard+57Lines changed: 57 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
0 commit comments