code: function registerResources(rs) {
      registerPromise = registerPromise.then(() => {
        return Promise.all(rs.map((r) => { return Promise.denodeify(pushResource)(r); }));
      });
    }
docs: only use registerResources for independent resources