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
Sometimes host application want to do something when atmosphere doesn't reconnect anymore. This can be solved by sending events:
$(document).trigger("atmosphere-reconnect-max-try-reached"); or $(document).trigger("atmosphere-error", errorCode);
or send error code as argument of onError function onError(errorCode)
The text was updated successfully, but these errors were encountered:
In case you want to implement something like that, you may use event namespaces for it. see http://api.jquery.com/event.namespace/
Sorry, something went wrong.
@hapali @staabm Patch welcomed :-) Let's try to add it in 1.1.0.beta3. Thanks for the feedback!
onError is now called in 1.0.6 and up. Closing as fixed, let me know if not.
No branches or pull requests
Sometimes host application want to do something when atmosphere doesn't reconnect anymore. This can be solved by sending events:
$(document).trigger("atmosphere-reconnect-max-try-reached");
or
$(document).trigger("atmosphere-error", errorCode);
or send error code as argument of onError
function onError(errorCode)
The text was updated successfully, but these errors were encountered: