Class ObservableQuerySubscriptionRevision

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

Defines the wire-level bounds for observable query subscription revisions.

public static class ObservableQuerySubscriptionRevision
Inheritance
ObservableQuerySubscriptionRevision
Inherited Members

Fields

MaxValue

The largest revision that can be represented exactly by a JavaScript number.

public const long MaxValue = 9007199254740991

Field Value

long

Methods

IsValid(long?)

Determines whether a revision is valid on the wire.

public static bool IsValid(long? revision)

Parameters

revision long?

The optional revision.

Returns

bool

true when missing for a legacy message, or when positive and within the safe integer range.