Better Utility

Most of our HttpServer tests rely on a single large utility function: httpGet(). This function starts our production server, gets a page from it, runs a callback, then shuts down the server. In this episode, we use async/await to make the function smaller, simpler, and easier to use.

  1. E529A Promise-ing Beginning

    Mon, 3 July ’17
  2. E530Make Me a Promise

    Wed, 5 July ’17
  3. E531Promisify Me

    Mon, 10 July ’17
  4. E532Promise Me a Sink

    Wed, 12 July ’17
  5. E533Necessary Evil

    Mon, 17 July ’17
  6. E534By Our Powers Combined

    Wed, 19 July ’17
  7. E535One Config to Rule Them All

    Mon, 24 July ’17
  8. E536A Way to Remove Promises

    Wed, 26 July ’17
  9. E537From Async Library to Async/Await

    Mon, 31 July ’17
  10. E538Parallelization

    Wed, 2 Aug ’17
  11. E539Another Async Library Conversion

    Mon, 7 Aug ’17
  12. E540One Down

    Wed, 9 Aug ’17
  13. E541Better Utility

    Mon, 14 Aug ’17
  14. E542Nested Parallelization

    Wed, 16 Aug ’17
  15. E543Async Retry

    Mon, 21 Aug ’17