cartoons
v0.0.6
Published
Cartoons Cartoons - Cartoons is the nickname for "Collaboration Add-ons Ready Online/Offline in Network and Shared" OR "Common Abstraction Rules Organizing Objects Network Shared" or whatever you find it stands for. Cartoons is used as an abstraction laye
Downloads
1
Readme
#Cartoons Cartoons - Cartoons is the nickname for "Collaboration Add-ons Ready Online/Offline in Network and Shared" OR "Common Abstraction Rules Organizing Objects Network Shared" or whatever you find it stands for.
Usage
Cartoons is used as an abstraction layer. The real implementation you make your self by filling in the necessary workers.
Current requirement is that you have a local Redis instance running.
Client implementation
var cartoons = require('./index.js');
// this function chains a number of async functions
function sync(){
return cartoons.servicenow.to.visualstudio.syncronize()
.then(function (queueId){ return cartoons.waitfor(queueId);})
.then(function (result){ return result;});
}
sync().then(function (status){
console.log('status is',status);
process.exit(0);
},cartoons.onerror);
WorkerClient implementation
var cartoons = require('cartoons');
console.log(cartoons);
// todo: ?