When using nodejs to crawl web page content, if there are too many requests, sometimes an exception will be thrown, prompting errors such as too many connections. Does nodejs have such keywords or class libraries for thread locking? Or how to handle it better? First, thank you!
nodejs does not have functions such as sleep.
I usually use event to match
async ?