Skip to content

SwarmClient re-connection to WebSocket #89

Description

@aquiladev

I use @erebos/swarm-browser package in order to communicate with swarm in my app.

const client = new SwarmClient({ws: '...'});

When I restart swarm, erebos package throws an error Connection failed and it is not possible to continue work with app, in order to fix it I need to refresh the app.

Do you have any ideas how to implement automatic re-connection of SwarmClient

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions