@s2-dev/streamstore - v0.22.0
    Preparing search index...

    Type Alias AppendConditionFailed

    AppendConditionFailed:
        | { fencing_token_mismatch: FencingToken }
        | { seq_num_mismatch: U64 }

    Aborted due to a failed condition.

    Type Declaration

    • { fencing_token_mismatch: FencingToken }
      • fencing_token_mismatch: FencingToken

        Fencing token did not match. The expected fencing token is returned.

    • { seq_num_mismatch: U64 }
      • seq_num_mismatch: U64

        Sequence number did not match the tail of the stream. The expected next sequence number is returned.