Using `Promise.all()` solved API callback. ... promiseDistance(somePoint).then(res => console.log(res));. 乾淨!相對於callback 讓人感覺舒服 ...
確定! 回上一頁