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
await function #169
Comments
This is untested, but maybe something like this:
|
Does |
I don't think so. The goal is to turn async code into synchronous code with as little extra code as possible. For example (from Google Promises):
However, since jdeferred isn't A+ compliant (doesn't catch exceptions thrown within a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be nice if the DeferredManager had an
await
function similar to Javascript's await operator orGoogle Promises' await function. The implementation could be similar to Google's Promises' await function implementation.
The text was updated successfully, but these errors were encountered: