@japofc/baileys - v2.4.7
    Preparing search index...

    Interface AutoReconnectManager

    interface AutoReconnectManager {
        attempts: number;
        socket: any;
        start: () => Promise<any>;
        stop: () => Promise<void>;
    }
    Index
    attempts: number

    Consecutive failed attempts since the last successful open.

    socket: any

    The live socket (replaced on every reconnect); null before start().

    start: () => Promise<any>

    Create the socket (via your factory) and begin supervising it. Resolves to the socket, or null if already stopped.

    stop: () => Promise<void>

    Cancel pending reconnects and close the live socket.