DEV Community

Discussion on: Understanding JavaScript async/await in 7 seconds

Collapse
 
wolfhoundjesse profile image
Jesse M. Holmes
getData(a).pipe(
  concatMap(b => getMoreData(b)),
  concatMap(c => getMoreData(c)),
  concatMap(d => getMoreData(d)),
  concatMap(e => getMoreData(e))
).subscribe({ next: e => console.log(e)})