proposal-async-context: Async Context for JavaScript

9 points by hibachrach


pragmatic

Crazy how primitive this is still.

Using async in c# (original implementation of this pattern in a widely used language) makes me nash my teeth in JS.

C# has structured async and cancelations ate easy to propagate. It makes it easy to respond to user leaving or canceling long running requests or handling timeouts from other system calls etc.

In JS we get...AbortController.

peter-leonov

This took us a bit too long, imo. Together with decorators.

It feels like we need again a refresher like WHATWG once was over W3C.