Scala, Concurrency, API, Project Loom, Java.
fetchOrder()). The result is a Fork instance. It has two methods: a blocking .join() to get the result, and a blocking .cancel(), which interrupts the underlying thread, and waits until the thread terminates. In essence, Fork is similar to a (virtual) Thread, a Future or a Fiber (known from