1

So Node.js uses event loop for non-blocking IO.

I wonder if that event loop is in the same thread as Node.js main for handling requests?

1 Answer 1

1

Yes, its in the same thread. There will be only one thread for a single node.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.