3 ms·
Yeah, sorry. I would have used .startVirtualThread more if I wasn't under the impression that I needed to do Thread.currentThread().interrupt() when catching a
by emccue 4y ago
Yeah, sorry.
I would have used .startVirtualThread more if I wasn't under the impression that I needed to do Thread.currentThread().interrupt() when catching and re-throwing as a RuntimeException.
So I was choosing between the noise of that in the examples and the noise of the executor + submit with a lambda that returned null.