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

    Interface ReadStop

    When to stop reading.

    interface ReadStop {
        limits?: ReadLimits;
        untilTimestamp?: number | Date;
        waitSecs?: number;
    }
    Index

    Properties

    limits?: ReadLimits
    untilTimestamp?: number | Date

    Timestamp at which to stop (exclusive). Accepts a Date or milliseconds since Unix epoch.

    waitSecs?: number

    Duration in seconds to wait for new records before stopping. Non-integer values are floored when sent to the API.