8000 support for other callback styles like next, fail · Issue #7 · jeffbski/autoflow · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

support for other callback styles like next, fail 83F7 #7

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

Open
jeffbski opened this issue Jun 28, 2012 · 0 comments
Open

support for other callback styles like next, fail #7

jeffbski opened this issue Jun 28, 2012 · 0 comments

Comments

@jeffbski
Copy link
Owner

Add support in for other callback styles:

  • fn(..., next) - where next(result) gets the result only (no err)
  • fn(..., next, fail) - where next(result) is same as above, and fail(err)
  • also could allow cb to have err in different position, currently throws validation err if not in first place, but could be relaxed to just check if has in any position
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0