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

    Function joinCalls

    • Waits on requests running side by side and runs whenAll once, after the last one reports.

      request() holds a watchdog that settles every call, so each one always reports and the join always closes. A report after the last one does not run whenAll again.

      Parameters

      • count: number

        How many requests to wait on.

      • whenAll: () => void

        Run once every request has reported.

      Returns () => void

      What each request runs when it reports.