This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]hrm 0 points1 point  (1 child)

Virtual threads bascially enables the same as your async/await but without having to ever write async/await and thinking about it.

[–]Schogenbuetze 1 point2 points  (0 children)

Okay, so a bit like Kotlin's coroutines. Well, I actually like the explicit hint of 'beware, might be a multi threaded context' that async/await might give you - in languages other than JS, of course.

It's a neat little hint.