Skip to content
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

Add support for visualizing reactive streams in a remote app #6

Open
whitelynx opened this issue Apr 24, 2015 · 1 comment
Open

Add support for visualizing reactive streams in a remote app #6

whitelynx opened this issue Apr 24, 2015 · 1 comment

Comments

@whitelynx
Copy link

This would probably involve splitting rxvision into an "interceptor" module and a "visualizer" module, and adding a user-settable "transport" function/object to the visualizer.

Then, the user can implement whatever transport they need between the two, allowing you to visualize events in e.g. a Node.js app. The transport could default to just directly consuming from a local interceptor, in order to support the current use case.

@jaredly
Copy link
Owner

jaredly commented Apr 26, 2015

yeah, that sounds like a cool idea. As the code currently stands, that's totally possible.

Include rxvision.js, and you get the "tracer".
If you also include viz.js, then you also get the visualization too.

You can see here how the viz tool listens to the tracer. It would be simple to add a listener that shoves events onto a websocket or something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants