22 Commits (97c43940c81a835c21650a3323c5005a5b620e7c)

Author SHA1 Message Date
Anna Henningsen d731369b1d
async_hooks: remove deprecated APIs 7 years ago
Rich Trott 50f45fffc1 lib: modify destructuring for indentation 7 years ago
Andreas Madsen 31417b6882
async_hooks: make AsyncResource match emitInit 7 years ago
Andreas Madsen 628485ea01
async_hooks: rename internal emit functions 7 years ago
Andreas Madsen f94fd0c0f3
async_hooks: fix nested hooks mutation 7 years ago
Ruben Bridgewater 8a830350b2
async_hooks: move restoreTmpHooks call to init 7 years ago
Rich Trott 0d22858d67 lib: remove excess indentation 7 years ago
Andreas Madsen 84f9261efd
async_hooks: require parameter in emitBefore 7 years ago
Andreas Madsen 4e27aa9603
async_hooks: use common emitBefore and emitAfter 7 years ago
Andreas Madsen 0fd4c73e5c
async_hooks: fix default nextTick triggerAsyncId 7 years ago
Ruben Bridgewater 5c6c02996b
async_hooks: reduce duplication with factory 7 years ago
Andreas Madsen de762b71f2
async_hooks: rename currentId and triggerId 7 years ago
Trevor Norris a2fdb76677
async_wrap: use kTotals to enable PromiseHook 7 years ago
Trevor Norris b9379095e1
Revert "async_hooks: only set up hooks if used" 7 years ago
Anna Henningsen 02aea0690d
async_hooks: minor refactor to callback invocation 7 years ago
Anna Henningsen 6318078d2c
async_hooks: make sure `.{en|dis}able() === this` 7 years ago
David Cai 35353a45fc test: increase coverage of async_hooks 7 years ago
Anna Henningsen 90dee89d8e
async_hooks: rename AsyncEvent to AsyncResource 8 years ago
Anna Henningsen 410b141764
async_hooks: only set up hooks if used 8 years ago
Shadowbeetle 6fb27af70a
async_hooks: add constructor check to async-hooks 8 years ago
Trevor Norris 4a7233c178
lib: implement async_hooks API in core 8 years ago
Trevor Norris 7e3a3c962f
async_hooks: initial async_hooks implementation 8 years ago