Hacker News new | ask | show | jobs
by DaiPlusPlus 1904 days ago
> Are C# promises/whatever cancellable?

Yes, but it's opt-in (it requires the author of the async method to add a `CancellationToken` parameter and to respect `IsCancellationRequested`).