Skip to content

Reconnect support #4

@torkildr

Description

@torkildr

It would be nice to have reconnect ability built into the library somewhere.

This would remove the need to have

xapi
    .on('close', () => {})
    .on('error', (error) => {});

with reconnect logic in client code.

Today, to have reconnect ability, you will have to have event listeners on close and error, which will create a new xapi object, and re-register all feedbacks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions