Skip to content

Is there a cleaner API for getting feedback about a connection attempt? #12

Description

@MoralCode

Currently the connect() and disconnect() methods on Ergometer return void and the consumer of this api needs to subscribe to changes in connection state via monitorConnectionState to see if it worked or not.

Goal:
It would be nice to find a way to provide feedback (even a simple binary true/false) when people call these connection methods as an indication of success or failure.

Possible issues
This might need to wait until after #6 since things might change

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions