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

    Function askShouldFetch

    • Decides whether a watch ask, or the phone coming up, should start a fetch.

      An ask that lands while a save's refetch is pending is folded into it, or the two would race and fetch twice. Either way the ask counts towards skipping the next slow tick.

      Parameters

      • asks: FeatureAsks

        The ask state to read and update in place.

      Returns boolean

      True when the ask should start a fetch.