DEV Community


Posted on

Is there any way to monitor micro task and macro task queue?

I am looking for a way to monitor/visualize the JavaScript micro task and macro task queue like this view in the answer

The microtask created by queueMicrotask API or Promise.

The macro task created by setTimeout().

Is there any way?

Top comments (1)

bias profile image
Tobias Nickel

I think you are looking for

cloud providers also have commercial services and even sometimes follow the standard.

in your code you decide how fine grane you create new child-span.