code: function storeJob(jobCompleted) {
      // if jobCompleted is jobFootPrint
      let emitterStore = new EventEmitter();
      let socketStoreJob = io.connect(urlSocket);
      let msg = messageBuilder(jobCompleted, 'storeJob', true);
      socketStoreJob.on('connect', function () {
          socketStoreJob.emit('storeJob', msg);
      })
          .on('addingResponse', (messageRes) => {
          logger_1.logger.log('info', `Job footprint stored in Warehouse`);
          //logger.log('info', `Message receive from server (add job request) \n ${JSON.stringify(messageRes)}`);
          logger_1.logger.log('debug', `Message returned: \n ${JSON.stringify(messageRes)}`);
          if (messageRes.value === 'success')
              emitterStore.emit('addSuccess', messageRes);
          if (messageRes.value === 'errorAddjob')
              emitterStore.emit('addError', messageRes);
      });
      return emitterStore;
  }
docs: rename jobCompleted -> storeDone