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

Remote View #1

Merged
merged 14 commits into from
Jan 18, 2025
Merged

Remote View #1

merged 14 commits into from
Jan 18, 2025

Conversation

Riley-horrix
Copy link

The remote view module allows a user of Parsley to send the debug tree to a remote host over HTTP, so that the processing and serving of the tree can be done in a separate process.

Remote View uses the STTP library to send the debug tree to a port running locally, or to a user-defined address, allowing remote, graphic debugging. We use the package, upickle, to serialise the debug tree to JSON for its performance benefits over circe, and the fact that it is a standalone package that is cross-platform .

The RemoteView object allows use of an arbitrary port and address, and the DillRemoteView defines the defaults that the reactive server will use.

@Riley-horrix
Copy link
Author

Riley-horrix commented Jan 18, 2025

Ready for review no.2 (whoops I forgot to remove an import)

@j-mie6
Copy link
Owner

j-mie6 commented Jan 18, 2025

Oh you have got to be kidding me... toIntOption is not a member for Scala 2.12. You'll have to (sadly) revert to Try(x.toInt).toOption from before. Grrr (Scala 2.12 is why we can't have nice things)

@j-mie6 j-mie6 merged commit 6b724db into j-mie6:master Jan 18, 2025
13 checks passed
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

Successfully merging this pull request may close these issues.

2 participants