Limit concurrent asynchronous calls

added by JavaScript Kicks
9/12/2018 9:45:09 AM

391 Views

Although Javascript is designed to be single threaded, you could still do things concurrently. For example, we can read multiple files concurrently. However, reading files could be quite computationally expensive; if there are more than 10k paths, you will probably hear the fans on your machine speed up as your machine struggles.


0 comments