the-event-loop Flashcards

1
Q

What is the javascript event loop?

A

Looks at the stack and task que, if stack is empty, pushes onto the que and runs the code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the difference between “blocking” and “non-blocking”

A

blocking = execution of code must wait untill a non-javascript operation completes (event loop cannot continue to run while blocking operation is occuring)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly