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 awaited!
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.
Is your feature request related to a problem? Please describe.
By convention in DotNet Core one wild supply a
CancellationTokeninto an Async method whenawaited!Describe the solution you'd like
Support passing in a
CancelationTokensuch that is propagated to theAsyncCommand.ExecuteAsyncand for that matter provide aValidateAsyncthat 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.