-
-
Notifications
You must be signed in to change notification settings - Fork 589
Open
Labels
Description
Is your feature request related to a problem? Please describe.
By convention in DotNet Core one wild supply a CancellationToken
into an Async method when await
ed!
Describe the solution you'd like
Support passing in a CancelationToken
such that is propagated to the AsyncCommand.ExecuteAsync
and for that matter provide a ValidateAsync
that also takes the token.
In this way a command handler can detect it's being canceled (via async Main for example)
Describe alternatives you've considered
One can make the organ available via static and class scoped but its not very well encapsulated.
Additional context
N/A
Please upvote 👍 this issue if you are interested in it.
IGx89, asasine, 0xfeeddeadbeef, glen-84, rcdailey and 38 more
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Todo 🕑