Skip to content

SwarmClient re-connection to WebSocket #89

@aquiladev

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

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