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

Calling Meteor's method from electrify #38

Open
rafaelcorreiapoli opened this issue Feb 6, 2016 · 3 comments
Open

Calling Meteor's method from electrify #38

rafaelcorreiapoli opened this issue Feb 6, 2016 · 3 comments

Comments

@rafaelcorreiapoli
Copy link

Hello. I know I can methods defined on electrify from meteor, as described on the docs. But can I call methods from meteor on my electrify App? I need this because I'm using serialport and when my electron app receives data from the port, I need to communicate this to Meteor

@arboleya
Copy link
Owner

This cannot be done with the current implementation. As a workaround you can achieve this with some kind of pooling, even though it may give you some latency, it should work.

@akolnati
Copy link

I have tried with a DDP client ( ddpclient.call ) setup accessing meteor app running on localhost...works perfectly in dev mode but when i package the app...it doesn't work. App just stops communicating with meteor app...just hit a dead end or is there a way to accomplish the same using IPC ?

@akolnati
Copy link

I hav added my solution here... Give it a try.
#47

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

No branches or pull requests

3 participants