Parallel execute and returns when all plans be executed.
并行执行所有计划
Returns a new Promise built-in an execution function.
返回一个新Promise对象内置有执行函数
the execution function
arguments of the execution function
Returns a PromisePlan.
返回一个Promise计划
Returns a new PromisePlan based on an old PromisePlan.
基于旧Promise计划,返回一个新Promise计划
an old PromisePlan
arguments of the new PromisePlan
context of the new PromisePlan
Execute all plans in sequential order.
按顺序依次执行所有计划
Parallel execute and returns when any plan be executed.
竞赛式执行计划
Creates a new PromisePlan which returns a new rejected promise.
返回一个新Promise计划,它将返回一个新的rejected promise
an argument need pass to the reject function of promise
Creates a new PromisePlan which returns a new resolved promise.
返回一个新Promise计划,它将返回一个新的resolved promise
an argument need pass to the resolve function of promise
Promise Helper