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

feat: support async hooks #390

Merged
merged 1 commit into from Jul 5, 2019
Merged

feat: support async hooks #390

merged 1 commit into from Jul 5, 2019

Commits on Jul 5, 2019

  1. feat: support async hooks

    A common use of hooks in aegir is to start and stop an ipfs node for
    browser tests to run against.
    
    Since they all use ipfsd-ctl and that is moving to async/await in
    ipfs/js-ipfsd-ctl#353 as part of ipfs/js-ipfs#1670, it would be
    nice to not have to mix async and callbacks in the hooks.
    
    This PR adds support for async hooks while not breaking existing
    callback based ones.
    achingbrain committed Jul 5, 2019
    Copy the full SHA
    6360037 View commit details
    Browse the repository at this point in the history