typedef com.dongxiguo.continuation.utils.JoinFunction = Void ->Void ->Void

import com.dongxiguo.continuation.utils.ForkJoin;

Available on all platforms

The function should be invoke when the thread exit. The execution continues only if all child threads have invoked their JoinFunction.