(symbol, name)
| 260 | } |
| 261 | |
| 262 | function emitHookFactory(symbol, name) { |
| 263 | const fn = emitHook.bind(undefined, symbol); |
| 264 | |
| 265 | // Set the name property of the function as it looks good in the stack trace. |
| 266 | ObjectDefineProperty(fn, 'name', { |
| 267 | __proto__: null, |
| 268 | value: name, |
| 269 | }); |
| 270 | return fn; |
| 271 | } |
| 272 | |
| 273 | // Manage Active Hooks // |
| 274 |
no test coverage detected
searching dependent graphs…