Skip to main content
added 1 character in body; edited tags
Source Link

In some of the online resources on asynchronous behavior of JavaScript, concepts like browser architecture, call stack, event loop and event queue are also metionedmentioned. While describing the workings of browser event loop, some use the word event queue while others callback queue. I am confused by those terms and would like to know if they refer to the same queue data structure which is used in browsers or are they different and are used it to handle different scenarios?

Figure 1 -

enter image description here

Figure 2 -

enter image description here

In some of the online resources on asynchronous behavior of JavaScript, concepts like browser architecture, call stack, event loop and event queue are also metioned. While describing the workings of browser event loop, some use the word event queue while others callback queue. I am confused by those terms and would like to know if they refer to the same queue data structure which is used in browsers or are they different and are used it to handle different scenarios?

Figure 1 -

enter image description here

Figure 2 -

enter image description here

In some of the online resources on asynchronous behavior of JavaScript, concepts like browser architecture, call stack, event loop and event queue are also mentioned. While describing the workings of browser event loop, some use the word event queue while others callback queue. I am confused by those terms and would like to know if they refer to the same queue data structure which is used in browsers or are they different and are used it to handle different scenarios?

Figure 1 -

enter image description here

Figure 2 -

enter image description here

While going throughIn some of the online resources which describe abouton asynchronous behavior of java scriptJavaScript, those resources also try to explain about the concepts like browser architecture, call stack, event loop and event queue are also metioned. When those resources start to describe about howWhile describing the workings of browser event loop works, some are useduse the word call event queue and andwhile others use callback queue. I am confused by those terms and would like to know that, are those words pointing outif they refer to the same queue data structure which is used by browserin browsers or they are they different and useare used it to handle different scenarios with in the browser?

Figure 1 -

enter image description here

Figure 2 -

enter image description here

While going through some of the online resources which describe about asynchronous behavior of java script, those resources also try to explain about the concepts like browser architecture, call stack, event loop and event queue. When those resources start to describe about how the browser event loop works, some are used the word call event queue and and others use callback queue. I am confused by those terms and would like to know that, are those words pointing out the same queue data structure which is used by browser or they are different and use to handle different scenarios with in the browser?

Figure 1 -

enter image description here

Figure 2 -

enter image description here

In some of the online resources on asynchronous behavior of JavaScript, concepts like browser architecture, call stack, event loop and event queue are also metioned. While describing the workings of browser event loop, some use the word event queue while others callback queue. I am confused by those terms and would like to know if they refer to the same queue data structure which is used in browsers or are they different and are used it to handle different scenarios?

Figure 1 -

enter image description here

Figure 2 -

enter image description here

Source Link

What is the difference between callback queue and event queue?

While going through some of the online resources which describe about asynchronous behavior of java script, those resources also try to explain about the concepts like browser architecture, call stack, event loop and event queue. When those resources start to describe about how the browser event loop works, some are used the word call event queue and and others use callback queue. I am confused by those terms and would like to know that, are those words pointing out the same queue data structure which is used by browser or they are different and use to handle different scenarios with in the browser?

Figure 1 -

enter image description here

Figure 2 -

enter image description here