Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make cadence itself reentrant. #74

Closed
bigeasy opened this issue Mar 12, 2013 · 0 comments
Closed

Make cadence itself reentrant. #74

bigeasy opened this issue Mar 12, 2013 · 0 comments
Assignees
Labels

Comments

@bigeasy
Copy link
Owner

bigeasy commented Mar 12, 2013

Because it's not. The invocation stack needs to be passed around as a parameter.

@ghost ghost assigned bigeasy Mar 12, 2013
bigeasy pushed a commit that referenced this issue Mar 13, 2013
First steps toward general reentrancy. #74.
bigeasy pushed a commit that referenced this issue Mar 13, 2013
Passing in the entire previous invocation object in order to track
abnormal ends. The `abend` variable is ridiculously global. #74.
bigeasy pushed a commit that referenced this issue Mar 13, 2013
Got rid of the ridiculously global `abended` variable. Now tracking
errors and abnormal ends using the invocation object which is available
to the subsequent invocation as the `previous` invocation variable.

Exceptions thrown from step functions are no longer handled, they cause
the error to propagate immediately, ignoring any errors gathered from
callbacks. Cadence error handling is not a replacement for try/catch.

See #74.
bigeasy pushed a commit that referenced this issue Mar 13, 2013
See #74.

File                             Raw         Min         Zip     Min/Zip
index.js                 15510/15.15  5390/05.26  4216/04.12  2004/01.96
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant