There is a very preliminary interface to create parallel threads.
The interface is similar to the standard delay/force,
where a thread is basically the same as a promise, except that
evaluation may be in parallel.
The standard
forcefunction has generalized to also work on threads. If waits for the thread'sexpressionto finish executing, and returns the result.
Creates a new
Runnableinstance from a function. Useful for passing the Java code that expects aRunnable. You can get the result (a value or a thrown exception) using thegetResultmethod.