B2G/gecko/services/sync/modules/policies.js
/**
  * Automatically start syncing after the given delay (in seconds).
  *
  * Applications can define the `services.sync.autoconnectDelay` preference
  * to have this called automatically during start-up with the pref value as
  * the argument. Alternatively, they can call it themselves to control when
  * Sync should first start to sync.
  */
Automatically start syncing after the given delay (in seconds).
Applications can define the `services.sync.autoconnectDelay` preference
to have this called automatically during start-up with the pref value as
the argument. Alternatively, they can call it themselves to control when
Sync should first start to sync.
Automatically start syncing after the given delay ( in seconds ) . Applications can define the ` services . sync . autoconnectDelay ` preference to have this called automatically during start - up with the pref value as the argument . Alternatively they can call it themselves to control when Sync should first start to sync .
function delayedAutoConnect(delay) {
    if (Weave.Service._checkSetup() == STATUS_OK) {
      Utils.namedTimer(this.autoConnect, delay * 1000, this, "_autoTimer");
    }
  }
function delayedAutoConnect ( delay ) { if ( Weave . Service . _checkSetup ( ) == STATUS_OK ) { Utils . namedTimer ( this . autoConnect , delay * 1000 , this , "_autoTimer" ) ; } }
Automatically start syncing after the given delay (in seconds).
Automatically start syncing after the given delay ( in seconds ) .