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

feat(lazer/js-sdk): add promises for open and disconnected #2254

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

tejasbadadare
Copy link
Contributor

  • The client's create() method will only resolve upon receiving a valid "open" message from the server.
  • Add the ability to handle a total disconnection (if all underlying sockets have disconnected and are waiting to retry)
    • This can happen if we lose internet connection or if all Lazer endpoints are down.

Copy link

vercel bot commented Jan 15, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 15, 2025 4:58am
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 15, 2025 4:58am
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 15, 2025 4:58am
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
component-library ⬜️ Ignored (Inspect) Visit Preview Jan 15, 2025 4:58am
insights ⬜️ Ignored (Inspect) Visit Preview Jan 15, 2025 4:58am

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.

3 participants