torque-pro-assistant - v1.0.0
    Preparing search index...

    Reactive snapshot of the Flask backend's reachability + the banner's user-controlled visibility state.

    interface BackendStatus {
        attempts: number;
        dismiss: () => void;
        dismissed: boolean;
        offline: boolean;
        retry: () => void;
    }
    Index

    Properties

    attempts: number

    Failure count, capped at 10. Resets on reconnect or manual retry.

    dismiss: () => void

    Hide the banner until the backend recovers + fails again.

    dismissed: boolean

    True once the user has dismissed the active outage.

    offline: boolean

    True while the backend is unreachable.

    retry: () => void

    Fire an immediate ping; resets the attempt counter to 1.