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

Support asynchronous invoke()'d functions #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Dec 8, 2013

  1. feat(injector): support asynchronous invoke()

    Injector.invoke accepts optional 3rd parameter, a callback to notify that
    the invoked function has completed.
    
    If invoked with a callback, the context of the invoked function is supplied
    with method `async()` (as in gruntjs), which returns a method for invoking
    the supplied callback with a single value indicating the result of the method.
    
    This could potentially be used to support asynchronous plugins in Karma, with
    some work.
    Caitlin Potter committed Dec 8, 2013
    Configuration menu
    Copy the full SHA
    fd9f72f View commit details
    Browse the repository at this point in the history