Pebble App Framework: Phone API
    Preparing search index...

    Interface StockState

    Fetch state carried across stock rounds, mutated in place by runStockRound.

    interface StockState {
        inFlight: boolean;
        lastAsOf: string;
        lastFetchMs: number;
        round: number;
    }

    Hierarchy (View Summary)

    Index
    inFlight: boolean

    A round is fetching, or waiting on a retry.

    lastAsOf: string
    lastFetchMs: number
    round: number

    The current round's number. It moves on whenever a round starts, ends, or is shut out.