News for hackers. Stuff that matters.
Re:Show HN: Winglang – a new Cloud-Oriented programming lang... by nathan_tarbert on Wednesday December 06, 2023 @11:25AM (#38545992)
I looked through the docs and I don't see any async methods, is that built into inflight like this code snippet I found?

queue.setConsumer(inflight (body: str): str => { let next = counter.inc(); let key = "myfile-{next}.txt"; bucket.put(key, body); });

Re:Show HN: Winglang – a new Cloud-Oriented programming lang... by eladbenisrael on Wednesday December 06, 2023 @11:29AM (#38546043)
Yap, all inflight code is async by default.
Re:Show HN: Winglang – a new Cloud-Oriented programming lang... by nathan_tarbert on Wednesday December 06, 2023 @11:34AM (#38546123)
Ok, thanks for clarifying. That is pretty slick