Pertanyaan tentang topik tersebut 'bluebird'
Bluebird - cara memutus rantai janji sejak dini
PromiseA().then(function(dataA){
if (dataA.foo == "skip me")
return ?? //break promise early - don't perform next then()
else
return PromiseB()
}).then(function(dataB){
console.log(dataB)
}).catch(function (e) {...
3535 dilihat
schedule
12.11.2023