by heavyairship · 2y ago · 0 comments
This seems similar to JavaScript's for await...of construct https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe....
A while ago I added a golang version here https://github.com/heavyairship/gopherawaitof.
for await of (const name in ips.map(getName)) console.log(name)
Although you’d want more frills to deal with rejections