code: function sequence(tasks, fn) {
    return tasks.reduce((promise, task) => promise.then(() => fn(task)), Promise.resolve());
  }
docs: Simple replacement for Bluebird's Promise.mapSeries() implementation
  @param {Array} tasks to run serially
  @param {Function} task function to execute
  @return {Promise}