Tuesday, September 7, 2021

How events are processed?

 




An event can happen as soon as execution stack is empty. That means all the function have returned.

All the events resides in message queue in browser engine and waiting to be processed.

Since event listener is a function it put on top of execution stack and become the active execution context.

No comments:

Post a Comment

Element of a good table (Ref: Database design mere mortals by Michael J. Hernandez)

  Elements of the Ideal Table: It represents a single subject, which can be an object or event that reduces the risk of potential data integ...