Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There is no public-facing continuations API afaik.

Structure concurrency/virtual threads seem like a good fit for Swing; just have your event handler fire off virtual thread[s] and do your work and call SwingUtilities.invokeLater to schedule the result to be applied on the event loop thread when you're done. Structured concurrency simplifies managing groups of concurrent tasks, cancelation, etc.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: