Javascript and timing, specifically with callbacks.
Posted
by Blankman
on Stack Overflow
See other posts from Stack Overflow
or by Blankman
Published on 2010-05-12T16:28:28Z
Indexed on
2010/05/12
16:44 UTC
Read the original article
Hit count: 181
JavaScript
|callback
I want to make sure I understand callbacks properly, and javascript timing etc. in general.
Say my code looks like this, is it gauranteed to execute in order?
SetList(); // initilizes the var _list
Some.Code(_list, function(data) {
// update list
});
DoSomething(_list); // operates on _list
© Stack Overflow or respective owner