Parallelization

We continue to improve our code as we refactor it to use async/await. Our next step is to take our sequential createSocket() and closeSocket() functions and make them run on multiple sockets in parallel. Fortunately, JavaScript’s new features make it a breeze to create generic, parallel versions of these functions. It shaves a bit of time of our build, too. Bonus!

comments powered by Disqus