hookable
hookable copied to clipboard
Debugger handling parallel hook calls with same name
Context: https://github.com/unjs/hookable/pull/55
Implementation with has some issues still for tracking parallel hook calls with certain timing cases:
(#id indicates assigned event._id we use to pad and add hidden diff and (!) issue)
#0: |----------------| (logEnd #0)
ctr=1 ctr=1
#1: |------------------------| (logEnd #1) (!)
ctr=2 ctr=1
#1: |----------------------| logEnd(#1) (!)
ctr=2 ctr1=
We also need to add tests for better coverage