It turns out the algorithm isn’t that far away, it’s getting closer and closer

  1. promise

  2. Chain calls

  3. The middleware

  4. The function is currified

  5. closure

  6. Hand write call, apply, bind

  7. Write a promise

  8. Throttling and anti-shaking