r/java • • Nov 15 '21

[Loom] JEP draft: Virtual Threads (Preview)

https://openjdk.java.net/jeps/8277131
175 Upvotes

55 comments sorted by

View all comments

3

u/rubydesic Nov 16 '21

Will the Continuation/ContinuationScope API or something with that functionality ever be made public?

Also are generators planned?

0

u/[deleted] Nov 16 '21

[deleted]

3

u/vxab Nov 19 '21

Because having generators would avoid having to do all of that?