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

    Type Alias ReadResult<Format>

    ReadResult:
        | { ok: true; value: ReadRecord<Format> }
        | { error: S2Error; ok: false }

    Result type for transport-level read operations. Transport sessions yield ReadResult instead of throwing errors.

    Type Parameters

    • Format extends "string" | "bytes" = "string"