I hereby claim:
- I am sarunast on github.
- I am sarunast (https://keybase.io/sarunast) on keybase.
- I have a public key ASB2Wuhqiy6sexOe96cPm9HGQpyOOECfAacsKwxHgvoS9go
To claim this, I am signing this object:
var Deferred = require("promised-io/promise").Deferred; | |
// 1st function with promise | |
var function1 = function(bool){ | |
var deferred = new Deferred(); | |
//add timeout for fun | |
setTimeout(function(){ | |
bool ? deferred.resolve('yay1') : deferred.reject('no1'); | |
}, 300); |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object: