code: function stop() {
    var donePromise = mediator.promise(resultSyncSubscribers.getTopic(CONSTANTS.TOPICS.STOP, CONSTANTS.DONE_PREFIX));
  
    var errorPromise = mediator.promise(resultSyncSubscribers.getTopic(CONSTANTS.TOPICS.STOP, CONSTANTS.ERROR_PREFIX));
  
    mediator.publish(resultSyncSubscribers.getTopic(CONSTANTS.TOPICS.STOP));
  
    return getTopicPromises(donePromise, errorPromise);
  }
docs: Stopping the synchronisation process for results.