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

    Function refetchAfterSave

    • Runs a forced refetch once the settings page has had time to save, holding back watch asks until then. It also closes the gap after the last fetch, since that reading is from before the save.

      Parameters

      • asks: FeatureAsks

        The ask state to update in place.

      • delayMs: number

        How long to wait, normally the context's refetchDelayMs.

      • refetch: () => void

        The forced fetch to run.

      Returns void