docs: function detectSeries(arr, iterator, check) {
    return Promise.each(arr, item => (
      Promise.try(() => iterator(item))
        .tap(debug)
        .then((result) => {
          if (check(result)) {
            throw new Result(item, result);
          }
        })
    ))
      .catch(Result, ({ item, result }) => ({
        item, result,
      }));
  }