24 Commits (46133b5beba2c780fb3b9a9d6be610d09f752182)

Author SHA1 Message Date
Trevor Norris 062beb08df
async_hooks: don't abort unnecessarily 8 years ago
Trevor Norris 94369d8017
async_hooks: improve comments and function names 8 years ago
Anna Henningsen d731369b1d
async_hooks: remove deprecated APIs 8 years ago
Rich Trott 50f45fffc1 lib: modify destructuring for indentation 8 years ago
Andreas Madsen 31417b6882
async_hooks: make AsyncResource match emitInit 8 years ago
Andreas Madsen 628485ea01
async_hooks: rename internal emit functions 8 years ago
Andreas Madsen f94fd0c0f3
async_hooks: fix nested hooks mutation 8 years ago
Ruben Bridgewater 8a830350b2
async_hooks: move restoreTmpHooks call to init 8 years ago
Rich Trott 0d22858d67 lib: remove excess indentation 8 years ago
Andreas Madsen 84f9261efd
async_hooks: require parameter in emitBefore 8 years ago
Andreas Madsen 4e27aa9603
async_hooks: use common emitBefore and emitAfter 8 years ago
Andreas Madsen 0fd4c73e5c
async_hooks: fix default nextTick triggerAsyncId 8 years ago
Ruben Bridgewater 5c6c02996b
async_hooks: reduce duplication with factory 8 years ago
Andreas Madsen de762b71f2
async_hooks: rename currentId and triggerId 8 years ago
Trevor Norris a2fdb76677
async_wrap: use kTotals to enable PromiseHook 8 years ago
Trevor Norris b9379095e1
Revert "async_hooks: only set up hooks if used" 8 years ago
Anna Henningsen 02aea0690d
async_hooks: minor refactor to callback invocation 8 years ago
Anna Henningsen 6318078d2c
async_hooks: make sure `.{en|dis}able() === this` 8 years ago
David Cai 35353a45fc test: increase coverage of async_hooks 8 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