This project has moved. For the latest updates, please go here.

Default of "async" option "false" or "true"?

Mar 6, 2014 at 9:14 AM
I'm a little confused about the default value of the "false" option.

In the "General Synax" section of this page it says:
  • "By default, all of the Web Service operations are called asynchronously with AJAX."
Whereas in one of the async/promises blogposts it says:
  • "In the promises version, the async option isn’t set, so it has the default of false."
Is this something I'm reading the wrong way?
Or does the quote from the blogpost just refer to the use of $().SPServices() in the context of promises?
Mar 6, 2014 at 2:28 PM
I'm pretty sure that by default all calls are async: true. There was a bug when Marc initially introduced support for Promises that was setting non-promise calls (those that defined a completefunc) to async:false, but that has been fixed (I'm daily certain)

Paul T.

-- Sent from Mobile

Mar 10, 2014 at 1:21 PM
By default, async is true in jQuery. See

I'll check those documentation pages. I may well have something wrong.

Mar 10, 2014 at 5:43 PM
thanks for the info!