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

Implement client wrapper for MapeoManager with IPC communication #259

Closed
achou11 opened this issue Sep 7, 2023 · 0 comments · Fixed by #261
Closed

Implement client wrapper for MapeoManager with IPC communication #259

achou11 opened this issue Sep 7, 2023 · 0 comments · Fixed by #261
Assignees

Comments

@achou11
Copy link
Member

achou11 commented Sep 7, 2023

Description

Putting this here for now as whatever implementation we decide on will probably require changes in this repo. The primary challenge when attempting to use this in our client app code (whether it's React Native via Nodejs Mobile, or Electron) is to expose the individual project instance's API to the frontend client via rpc-reflector. rpc-reflector can't transfer an instance and so what we'll need to do is figure out the best way of designing the solution such that when creating the project instance, we create a "wrapped" instance that uses the relevant IPC channel to transfer the object and its API to the frontend.

This may end up being a separate module but even if that's the case, I suspect some work will need to be done here in order to enable that.

Tasks

  • [ ]
@achou11 achou11 self-assigned this Sep 7, 2023
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 a pull request may close this issue.

1 participant