-
-
Notifications
You must be signed in to change notification settings - Fork 16
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 goes into infinite loop #66
Comments
@sorenbronsted Thanks for bringing this up! @clue made a good job at answering this problem inside #62. The await function also starts a new loop which in your case leads to two loops running at once and only one is going to be stopped. I believe this has already been answered in other tickets, so I'm closing this for now. Please come back with more details if this problem persists and we can always reopen this 👍 |
May I suggest that the limitations of this library are clearly state in the readme possibly by linking to issue many has raised. It will save time for all of us :-) |
@sorenbronsted Fair enough, we're currently in process of moving towards a stable release for react/async and have also moved the If you feel there's anything that should be added to this README, I'm happy to accept PRs! 👍 |
I am trying to use reactphp in my application without rewriting the whole thing to promises but to use await instead. I have though some problems with await which I can boil down to this example:
Then asyncron works out of the box, but the syncron way has 2 issue:
The text was updated successfully, but these errors were encountered: