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

    Type Alias RequestFn

    RequestFn: (
        url: string,
        callback: (err: string | null, body?: string) => void,
    ) => void

    An HTTP GET the caller supplies, so the specs can swap in a fake.

    Type Declaration

      • (url: string, callback: (err: string | null, body?: string) => void): void
      • Parameters

        • url: string
        • callback: (err: string | null, body?: string) => void

        Returns void