Here's an example:
handlers.ExampleFunction = function(args, context) { Function1(); Function2(); //does this wait for Function1 to finish before running? } function Function1() { server.Something(); } function Function2() { server.SomethingElse(); }
Does it wait for Function1 to finish and return before Function2 is run?