| Q |
A |
| Bug? |
no |
| New Feature? |
yes? |
| Version |
2.1.0 |
Actual Behavior
wait() method on Promise fails because the LoopInterface::tick() in react/event-loop is internal now.
Expected Behavior
Synchronous requests work when I call the Client::sendRequest() method.
Steps to Reproduce
Update http-client to 0.5.9
Make sure the react/event-loop version is >= 0.5.0 (BC version)
Try to send synchronous request with the Client from this library.
Possible Solutions
reactphp/event-loop#52 (comment)
Actual Behavior
wait()method onPromisefails because theLoopInterface::tick()inreact/event-loopis internal now.Expected Behavior
Synchronous requests work when I call the
Client::sendRequest()method.Steps to Reproduce
Update
http-clientto 0.5.9Make sure the
react/event-loopversion is >= 0.5.0 (BC version)Try to send synchronous request with the
Clientfrom this library.Possible Solutions
reactphp/event-loop#52 (comment)