The Async Await Refactor

by Alan Shaw on 2020-02-01

We’re on the cusp of completing a refactor in the js-ipfs, js-libp2p and js-ipld codebases to use Promises and remove Node.js streams and pull streams from the code base entirely. We’re using async/await everywhere (i.e. not the vanilla then/catch style of working with promises) and async iterables, allowing users to consume our streaming APIs with for await...of loops.

This is a companion discussion topic for the original entry at