Just learning promises. Javascript is single threaded right? So when it uses fetch api to make http requests it all happens in one thread?
How does it manage concurre