Like in callbacks we can send as many arguments ..
Same I want to pass multiple arguments in .then function
In Bluebird promises or Native Javascript Promises
Like this
myPromise
.then(a=>{
var b=122;
//here i want to return multiple arguments
})
.then((a,b,c)=>{
// do something with arguments
})
via hardy
No comments:
Post a Comment