StructuredTaskScope with runnable?

Josiah Noel josiahnoel at
Wed Oct 11 20:35:58 UTC 2023


This is another minor inconvenience for me, but I've got some async tasks
that don't return a result, and I've been using *Executors.callable()* to
transform the *Runnable*s into *Callable*s. It would be nice if STS had a
method to accept *Runnable*s, that would return a *Subtask<Void>.*

Cheers, Josiah.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the loom-dev mailing list