Skip to content

[Feature Request]: On anyMesh.connect(), no error sent if name collides #2

@AdrianTP

Description

@AdrianTP

anyMesh.connect('<name>', ['<channel>']); appears to offer no callback functionality, so there's no way of determining if an error occurred on connection, such as an inability to connect or a name collision.

Would it be feasible to add this functionality, so an app can either automatically generate a name and connect without user intervention, or at least notify a user if the name they selected is already in-use within the mesh?

For the time being, I'm just generating a UUID with node-uuid on each app start and hoping they don't collide (rare, but possible) on connection.

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