Hi, what possibilities exist to be able to use the await operator without the use of async?,
as it is currently done in javascript.
Example in actual javascript
const prom = new Promise((r)=> {r('Running whitout without async 馃弰
')});
await prom // Running whitout without async 馃弰
Regards!
Hi, what possibilities exist to be able to use the await operator without the use of async?,
as it is currently done in javascript.
Example in actual javascript
const prom = new Promise((r)=> {r('Running whitout without async 馃弰
')});
await prom // Running whitout without async 馃弰
Regards!