Skip to content

Feature Request: Add getUsers() helper to return a list of all users #613

@shannonhochkins

Description

@shannonhochkins

Motivation / Problem statement
The package already exposes getUser(connection) for the current user.

At the moment, developers have to hand-roll a connection.sendMessagePromise({ type: "config/auth/list" }) call, which is verbose and easy to overlook. Wrapping this call in a first-class helper (parallel to getUser) will make the common pattern obvious and type-safe.

Would be a nice to have feature :)

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