docs: function next(parent$) {
    let resolve;
    const promise = new Promise(_resolve => {
      resolve = _resolve;
    });
    subscribeTo(parent$, resolve);
    promise.then(() => removeItem(parent$.listeners, resolve));
    return promise;
  }