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

Promise and EventListener ( progress/notify support in gorillascript promise ) #136

Open
unc0 opened this issue Aug 9, 2013 · 0 comments

Comments

@unc0
Copy link
Contributor

unc0 commented Aug 9, 2013

Take this code as an example. Sometimes the value we need to return from a promise is in an EventListener.
I don't know how to wrap this IndexedDB request into promise in gorillascript.
The vow promise library also use this progress/notify pattern to fill a promise from an EventListener. Maybe we should have these macro/functions in jsprelude?

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