hookable icon indicating copy to clipboard operation
hookable copied to clipboard

Debugger handling parallel hook calls with same name

Open pi0 opened this issue 3 years ago • 0 comments

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

pi0 avatar Oct 15 '22 10:10 pi0