Closed macabeus closed 4 years ago
After nice discussions, the second version of this proposals comes with the following changes:
handle
catch
resume
perform
(each commit is one of the changes above)
We still need to discuss more about:
After nice discussions, the second version of this proposals comes with the following changes:
handle
block, to avoid shadowing problem and give more symmetry withcatch
block (https://github.com/macabeus/js-proposal-algebraic-effects/issues/16)resume
outside ofhandle
block AND must be inhandle
block directly (https://github.com/macabeus/js-proposal-algebraic-effects/issues/8) (https://github.com/macabeus/js-proposal-algebraic-effects/issues/9)perform
always should return a value, even if noresume
is called (https://github.com/macabeus/js-proposal-algebraic-effects/issues/8#issuecomment-570052778)(each commit is one of the changes above)
TODOs
We still need to discuss more about: