public sealed class RunicTestOperation An operation started through a generated Start{Command} route.
Properties
Admission
public string Admission { get; } accepted, duplicate, expired, rejected or failed.
AdmissionJson
public string AdmissionJson { get; } The admission reply as .NET serialized it.
Contract
public string Contract { get; } The operation contract: ViewModel type, contract fingerprint and route.
Member
public string Member { get; } The command member, such as Save.
Reason
public string? Reason { get; } Why the operation was not accepted.
RequestId
public string RequestId { get; } The request id the operation was started with.
Methods
Cancel
public string Cancel() Requests cancellation and returns how .NET answered, such as cancellation-requested.
WaitAsync
public ValueTask<RunicOperationStatus> WaitAsync(CancellationToken cancellationToken = default) Waits for the terminal status.