-
Notifications
You must be signed in to change notification settings - Fork 175
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
remote callback not being called #16
Comments
Please, carefully look at the example -- you need to add a second callback at client-side. |
Hi scottburch. If you are running NowJS version < 0.3, then dvv is correct and you will need to use an noop. However if you are using the latest npm version (0.3.0), I have tested your code and it works for me. Can you provide more information about the exact code and version of NowJS you're using? Thanks, Eric |
I wrote a minimal example of what I am doing (since I put this in a larger project) and it does work fine. I will try to remove a piece at a time until I figure out what is causing it to fail. I will post here when I find it. Thanks. I was not sure I was using it correctly. |
Ok, found it. |
SERVER
everyone.now.getData = function(callback) {
callback(getData())
}
CLIENT
I took a wireshark trace and I see the instructions to call the callback (I think) but the callback never gets called. The documentation does not cover this well.
The text was updated successfully, but these errors were encountered: