B2G/gecko/services/sync/tps/extensions/tps/modules/tps.jsm
/**
   * Waits for Sync to start tracking before returning.
   */
Waits for Sync to start tracking before returning.
Waits for Sync to start tracking before returning .
function waitForTracking() {
    if (!this._isTracking) {
      this.waitForEvent("weave:engine:start-tracking");
    }
    let cb = Async.makeSyncCallback();
    Utils.nextTick(cb);
    Async.waitForSyncCallback(cb);
  }
function waitForTracking ( ) { if ( ! this . _isTracking ) { this . waitForEvent ( "weave:engine:start-tracking" ) ; } let cb = Async . makeSyncCallback ( ) ; Utils . nextTick ( cb ) ; Async . waitForSyncCallback ( cb ) ; }
Waits for Sync to start tracking before returning.
Waits for Sync to start tracking before returning .