-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Streamz with websocket not steaming any data #474
Comments
Are you saying that the on_open, on_message and on_close functions do run, but print_result does not? You might also be interested in Stream.from_websocket which listens for incoming connections. A streamz native (async) client version would look very similar. |
That is correct, I am not getting any data results window with streamz. Perhaps I am missing something on the way I use steamz code..... |
I am afraid I don't know. You are not using any async streamz stuff here, so the simplified code is essentially
which does indeed print. |
Does Streamz work on Visual Studio Code.. or just in Jupiter Notebooks? |
The auto-updating visual output is a jupyter-widget thing I don't know if VSCode shows those properly or not. streamz plotting via hvplot can work in a variety of browser platforms, including a standalone webapp; but, again, I don't know what VSCode does. However, streamz's internals will continue to work anywhere, including a simple terminal, so if output is to a file, printed, or some other side-effect, those will work anyway. |
I am trying to figure out a right way of streaming data using streamz with websocket. My streaming data is loaded using websocket but not streaming anything.
The text was updated successfully, but these errors were encountered: