Enum ObservableQueryEmissionVerdict

Namespace
Cratis.Arc.Queries
Assembly
Cratis.Arc.Core.dll

Defines the verdict an IGuardObservableQueryEmission gives for a single observable query emission.

public enum ObservableQueryEmissionVerdict
Extension Methods

Fields

Allow = 0

The emission is written to the client unchanged.

DenyAndTerminate = 2

The emission is withheld, the client is told it is no longer authorized, and the subscription is torn down.

Suppress = 1

The emission is withheld, and the subscription stays live so a later emission can be delivered again.

Remarks

The values are ordered from least to most restrictive, so aggregating several guards is a matter of keeping the highest verdict any of them returned.