-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Error on "close" event #120
Comments
HI @hemantjp, I'm not sure I quite follow what your issue is. In case you want to apply a timeout to a pending request, have you seen #104 (comment)? If your problem persists, can you give a short gist to reproduce the problem you're seeing and/or provide a more detailed exception trace? |
@clue , i have already referred to #104 . The close event of the request is not getting the proper arguments. i have passed it an exception class but it is saying none supplied. could this be an issue because i am using php7? Should i provide more details? |
The I hope this helps 👍 I believe this has been answered, so I'm closing this for now. Please come back with more details if this problem persists and we can reopen this 👍 |
@clue the |
Yes, explicitly calling |
@clue Referring to the deferred object i have created to maintain promise like feel.
|
Your API seems to suffer from a number of flaws, e.g. it looks like your API is subject to a temporal dependence. If you explicitly call your |
@clue thank you sir. i was mislead thinking that |
i wanted to reject the promise based on timer to cancel the request.
Kindly advise
PHP Fatal error: Uncaught TypeError: Argument 1 passed to {closure}() must be an instance of Exception, none given, called in /vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php on line 123
The text was updated successfully, but these errors were encountered: