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

    Interface AppendInput

    Input for append operations. Use AppendInput.create() to construct with validation.

    interface AppendInput {
        fencingToken?: string;
        matchSeqNum?: number;
        meteredBytes: number;
        records: readonly AppendRecord[];
        streamConfig?: StreamConfig;
    }
    Index

    Properties

    fencingToken?: string
    matchSeqNum?: number
    meteredBytes: number

    Pre-calculated total metered size in bytes.

    records: readonly AppendRecord[]
    streamConfig?: StreamConfig

    Stream configuration to apply if the stream is created on append. Unset fields inherit the basin's default stream configuration. Ignored if the stream already exists.

    Only used by S2Stream.append; append sessions send it once at connect, see AppendSessionOptions.streamConfig.