We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Do we need to support propagating more progress events than we recieve?
promiseA .then(null, null, function (val, prop) { prop(0); prop(1);});
The text was updated successfully, but these errors were encountered:
That could easily be written as:
var promiseB = promiseA.constructor(function(resolver){ promiseA.then(resolver.fulfill, resolver.reject, function(val){ resolver.progress(0); resolver.progress(1); }); });
And of course libraries could provide a utility methods for that abstraction.
Sorry, something went wrong.
True, but that requires breaking your nice clean chain of thens.
The OP idea seems a bit unwise given that you could do setTimeout(prop, 50, 100);
setTimeout(prop, 50, 100);
No branches or pull requests
Do we need to support propagating more progress events than we recieve?
The text was updated successfully, but these errors were encountered: