Event execute simultaneously or continuously in Javascript? -
i have action event click on button in javascript. if click button 2 times, function handler of action perform simultaneously or sequence? (the time between 2 click faster function handler execution time).
your functions never run in parallel. when event occurs, user thread awoken execute registered handler , when function finishes may other function called.
if don't use webworkers, never have 2 of functions running @ same time in page.
Comments
Post a Comment