seanmonstar/Shipyard — Issue #6: AjaxSync should put all requests in a queue and only execute one at a time
Author: seanmonstar
Created: 2011-11-30 16:50:02+00:00
State: open

This will help prevent conflicts where the second request might rely on data from the first request to have already been submitted, but the second request resolves faster.

Example:

```js
var m = new Module();
m.save();
var r = new Revision();
r.set('module', m);
r.save(); // r expects m to be in the system, and must execute after m.save()
```

Also allow for an option to skip the queue. For instance, at page load, you might not want to queue up multiple Model.findAll() calls.