Javascript de construtor assíncrono
function asyncRequest(id){
return new Promise(/*.....*/);
}
class MyClass {
constructor(async) {
(async function() {
this.city = await asyncRequest(async);
})();
}
}
RedGuy12