allow cancellationtoken argument on main method for soft cancellation via ui
You already allow the main method to be async (returning a Task). So implementing a soft-cancel button which only becomes visible when the main method signature contains a CancellationToken argument shouln'd be very complicated.
4
votes
springy
shared this idea
-
Denis Zhevagin commented
That's Greate and simple idea