tarlatan
    Preparing search index...

    Interface VersionedRead<A>

    What one read of a store found, all from one snapshot (review finding F6): the format version its header read, and either the rows, when Domain's decision on that version, against the store's known version, allows reading (unstamped, older readable or current), or the decision that refused the store (newer, or below 0), with no row read.

    interface VersionedRead<A> {
        rows: Result<A, StoreVersionRefusal>;
        version: number;
    }

    Type Parameters

    • A
    Index

    The rows, or the decision that refused the store.

    version: number

    The header's user_version as the snapshot read it.