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

Realtime ? What the good way ? #625

Open
4 tasks
imike57 opened this issue Oct 4, 2018 · 0 comments
Open
4 tasks

Realtime ? What the good way ? #625

imike57 opened this issue Oct 4, 2018 · 0 comments

Comments

@imike57
Copy link

imike57 commented Oct 4, 2018

What type of issue are you creating?

  • Bug
  • Enhancement
  • [x ] Question

What version of this module are you using?

  • [ x] 2.0.10 (Stable)
  • 2.1.0-rc.n (2.1 Release Candidate n)
  • Other

Write other if any:

Please add a description for your issue:

Hi,

I'm looking for a solution to use the API generated to provide realtime data...
For now, the only way that it work for me has been to use createChangeStream() and unscubscibe/subscribe again to update my data, but I think it's not the good way to do as it seem the connexion expire fast and I got some error after some time.

sans-titre-1

I try to follow the example https://github.com/mean-expert-official/loopback-sdk-builder/wiki/5.-Usage-Examples

But without success.. there is nothing about "onCreateMessages" function in my generated API. This example is up to date ?

I see also Fireloop

This is the solution ? But the link to the documentation do not work... http://docs.fireloop.io/

There is not a simple way to use the services generated as realtime service ?

Someone can provide an simple example from a service generated by this component ?

Any help is welcome

Mike

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

1 participant