Transform the continuation-passing style into the promise. The parameter for computation is continuation error handle which aborts the computation.
computation
continuation
The computation about Promise.
Promise
The transformed promise.
Transform the continuation-passing style into the promise. The parameter for
computationiscontinuationerror handle which aborts the computation.