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

Create an adapter for pusher / socketi #249

Open
noam-honig opened this issue Sep 26, 2023 · 1 comment
Open

Create an adapter for pusher / socketi #249

noam-honig opened this issue Sep 26, 2023 · 1 comment

Comments

@noam-honig
Copy link
Collaborator

noam-honig commented Sep 26, 2023

The live query mechanism uses an adapter pattern to replace implementations. Currently, there's an adapter for Server Sent Events, and one for Ably - it'll be great if there's an adapter for Pusher/socketi.

Here's the ably adapter for reference:
https://github.com/remult/remult/blob/1a9293875a012cbc259be74c932ff28f16f35179/projects/core/ably.ts

Here are the docs on how to use Ably with remult:
https://remult.dev/tutorials/react-next/deployment.html#livequery-serverless-support

@noam-honig
Copy link
Collaborator Author

Maybe also websockets (Like sse)
and https://centrifugal.dev/

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