Some reading before it: https://gist.github.com/eliseumds/8f970d8929e61b981438
var requestManager = new RequestManager();
var request1 = myApi.get('/resource1');
var request2 = myApi.get('/resource2');
requestManager.addAll([request1, request2]);
// you dont need them anymore? Cancel!
requestManager.abortAll();
var keyedRequestManager = new KeyedRequestManager();
var request1 = myApi.get('/resource1');
var request2 = myApi.get('/resource2');
var request3 = myApi.get('/resource3');
var request4 = myApi.get('/resource4');
keyedRequestManager.addAll('bunch1', [request1, request2]);
keyedRequestManager.addAll('bunch2', [request3, request4]);
// Just cancel bunch2
keyedRequestManager.abortAll('bunch2');