Javascript Examples

Browse Javascript examples

javascriptSnippet

Late abort Listeners Never Fire

Adding an abort listener after the signal already aborted does not throw and does not fire, so cleanup paths must check signal.aborted before subscribing.

javascriptSnippet

Event Loop Delay Histogram

Record how late timer callbacks run with monitorEventLoopDelay: a synchronous burst blocks the loop and shows up as nanosecond-scale max delay.