(asyncId, type, triggerAsyncId, resource)
| 25 | const storageList = []; |
| 26 | const storageHook = createHook({ |
| 27 | init(asyncId, type, triggerAsyncId, resource) { |
| 28 | const currentResource = executionAsyncResource(); |
| 29 | // Value of currentResource is always a non null object |
| 30 | for (let i = 0; i < storageList.length; ++i) { |
| 31 | storageList[i]._propagate(resource, currentResource, type); |
| 32 | } |
| 33 | }, |
| 34 | }); |
| 35 | |
| 36 | class AsyncLocalStorage { |
nothing calls this directly
no test coverage detected
searching dependent graphs…