Skip to content
Buy me a coffee

Playground

This page runs the actual @ylcnfrht/enhanced-abort-controller source in your browser. Pick an example or write your own, then press Run. console.log output and uncaught errors appear on the right. Copy link puts the snippet in the URL so you can share it.

Console

Press Run (or ⌘/Ctrl + Enter).

Types are stripped, not checked, here (Sucrase). The library itself is the real @ylcnfrht/enhanced-abort-controller source. Output that arrives after the snippet returns (timers, aborts) keeps appearing. using needs a browser with explicit resource management (Chrome 134+); elsewhere callcontroller.dispose(). In Node a pending abortAfter alone does not keep the process alive; a browser tab has no such notion, so here it simply fires.