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

    Interface BatchTransformArgs

    Types used with BatchTransform.

    interface BatchTransformArgs {
        fencing_token?: string;
        lingerDurationMillis?: number;
        match_seq_num?: number;
        maxBatchBytes?: number;
        maxBatchRecords?: number;
    }
    Index

    Properties

    fencing_token?: string

    Optional fencing token to enforce (remains static across batches)

    lingerDurationMillis?: number

    Duration in milliseconds to wait before flushing a batch (default: 5ms)

    match_seq_num?: number

    Optional sequence number to match for first batch (auto-increments for subsequent batches)

    maxBatchBytes?: number

    Maximum batch size in metered bytes (default: 1 MiB, max: 1 MiB)

    maxBatchRecords?: number

    Maximum number of records in a batch (default: 1000, max: 1000)