@java Java doesn't have coroutines, but I believe it's worth mentioning fibers and continuations in this context. They're worked upon under @OpenJDK's Project Loom, and there's already a working prototype presented by @mreinhold at @OracleCodeOne last month.
cr.openjdk.java.net/~rpressler/loo…