package com.dongxiguo.continuation.utils

CollectFunction

Like JoinFunction, but will collect all results from each child threads into an array.

ForkJoin

Generator

An Iterator<Element> that yields each element lazily.

JoinFunction

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

RunFunction

Sleep

@author 杨博

StateMachine

Tuple

@author 杨博

YieldFunction