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
Classes that implement Future should change the signature ot .then to be
Future
.then
then(FutureOr<S> onValue(T x), {Function onError})
to ensure that inference will continue to work for calls to .then and to get better error checking.
The text was updated successfully, but these errors were encountered:
Use FutureOr.
cbb157d
Closes #26
Use FutureOr. (#27)
4c8f9fb
Thanks!
Sorry, something went wrong.
Use FutureOr. (dart-archive/async#27)
ce17710
Closes dart-lang/async#26
Successfully merging a pull request may close this issue.
Classes that implement
Future
should change the signature ot.then
to beto ensure that inference will continue to work for calls to
.then
and to get better error checking.The text was updated successfully, but these errors were encountered: