Setu-TS
    Preparing search index...

    Interface HeartbeatOptions

    Configuration for the sweeper.

    0.1.0

    interface HeartbeatOptions {
        heartbeatMs: number;
        heartbeatPayload: string;
        idleTimeoutMs: number;
    }
    Index
    heartbeatMs: number

    Tick interval in milliseconds; 0 disables the sweeper entirely.

    heartbeatPayload: string

    The text frame sent on each tick.

    idleTimeoutMs: number

    Inbound silence in milliseconds after which a connection is closed; 0 disables.