List of functions and data types in Threads
Thread<b> create(b(a) fn, a arg)
Arguments
fn: The function to execute.
arg: The argument to pass to the function.
Usage
Create a new thread that executes the specified function. waitFor may be used to find the return value of the function.
Related