funcool 2023-09-14

with jdk virtual threads, the async await becomes irrelevant on JVM

👍 1

you can just spawn a thread and block on it, in the same way as you will do await in other languages here, the runtime will perform a proper and efficient vthread parking for you transparently