Skip to content

Comment on You can't cancel a JavaScript promise (except sometimes you can)parent

Comments

I much prefer Coroutines in Kotlin... Lightweight, pauseable, resumable, cancelable and easy to use without having to provide a CancellationToken AND a CancellationTokenProvider.

I really hope that coroutines land in Rust after being experimental to improve the async stuff.

The C# Tasks are not bad but I think the API could be easier and more precise/clear.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.