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

Implement "try/catch." #109

Closed
bigeasy opened this issue Jun 28, 2013 · 0 comments
Closed

Implement "try/catch." #109

bigeasy opened this issue Jun 28, 2013 · 0 comments
Assignees

Comments

@bigeasy
Copy link
Owner

bigeasy commented Jun 28, 2013

No description provided.

@ghost ghost assigned bigeasy Jun 28, 2013
bigeasy pushed a commit that referenced this issue Jun 28, 2013
To support the new try/catch and finalizer constructs, the invoke method
is going to need more than a list of steps. It will need a parallel
array of handers and a list of finalizers. To support this, I've created
a `cadence` object that contains `steps` array. Soon, it will also have
`catchers` and `finalizers`. It is essentially the `callback` object
built by `createHandler` which also gathers the results of the cadence.

I now pass around the entire object, not just the `steps` array.

See #109.

File                             Raw         Min         Zip     Min/Zip
index.js                 11050/10.79  3533/03.45  3155/03.08  1340/01.31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant