lib/client/result-client/index.js
function forceSync() {
  var donePromise = mediator.promise(resultSyncSubscribers.getTopic(CONSTANTS.TOPICS.FORCE_SYNC, CONSTANTS.DONE_PREFIX));

  var errorPromise = mediator.promise(resultSyncSubscribers.getTopic(CONSTANTS.TOPICS.FORCE_SYNC, CONSTANTS.ERROR_PREFIX));

  mediator.publish(resultSyncSubscribers.getTopic(CONSTANTS.TOPICS.FORCE_SYNC));

  return getTopicPromises(donePromise, errorPromise);
}
function forceSync() {
  var donePromise = mediator.promise(resultSyncSubscribers.getTopic(CONSTANTS.TOPICS.FORCE_SYNC, CONSTANTS.DONE_PREFIX));

  var errorPromise = mediator.promise(resultSyncSubscribers.getTopic(CONSTANTS.TOPICS.FORCE_SYNC, CONSTANTS.ERROR_PREFIX));

  mediator.publish(resultSyncSubscribers.getTopic(CONSTANTS.TOPICS.FORCE_SYNC));

  return getTopicPromises(donePromise, errorPromise);
}
function forceSync ( ) { var donePromise = mediator . promise ( resultSyncSubscribers . getTopic ( CONSTANTS . TOPICS . FORCE_SYNC , CONSTANTS . DONE_PREFIX ) ) ; var errorPromise = mediator . promise ( resultSyncSubscribers . getTopic ( CONSTANTS . TOPICS . FORCE_SYNC , CONSTANTS . ERROR_PREFIX ) ) ; mediator . publish ( resultSyncSubscribers . getTopic ( CONSTANTS . TOPICS . FORCE_SYNC ) ) ; return getTopicPromises ( donePromise , errorPromise ) ; }
Forcing the results to sync to the remote store.
Forcing the results to sync to the remote store .