Using ES6 Promises as a resource pipeline | Dark Hacker News