Skip to content

CommandPolicy

type CommandPolicy =
    | Disable = 0
    | CancelPrevious = 1
AssemblyRanvier.CSharp
InheritsEnum

What a ReactiveCommand does when an execution is requested while another runs.

Cases

Disable = 0

The command is disabled while an execution runs, and a request made meanwhile is ignored.

CancelPrevious = 1

The request cancels the token of every execution in flight, then starts a new execution.