Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Hub.WaitButtonClickAsync() #68

Closed
tthiery opened this issue Jul 28, 2020 · 0 comments · Fixed by #78
Closed

Add Hub.WaitButtonClickAsync() #68

tthiery opened this issue Jul 28, 2020 · 0 comments · Fixed by #78
Assignees
Labels
area-hubs enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@tthiery
Copy link
Member

tthiery commented Jul 28, 2020

Add method for simple use cases to await button click, e.g. sample

var hub = host.DiscoverAsync<TechnicMediumHub>();

await hub.ConnectAsync();

Console.WriteLine("Click the hub button to start the party");
await hub.WaitButtonClickAsync();

// 🎉
@tthiery tthiery added enhancement New feature or request good first issue Good for newcomers area-hubs labels Jul 28, 2020
@tthiery tthiery added this to the v2.2 milestone Jul 28, 2020
@tthiery tthiery changed the title Add Hub.ButtonClickAsync() Add Hub.WaitButtonClickAsync() Aug 4, 2020
@tthiery tthiery self-assigned this Aug 6, 2020
tthiery added a commit that referenced this issue Aug 6, 2020
- Add to steering calibration example

#68 non-breaking
@tthiery tthiery linked a pull request Aug 6, 2020 that will close this issue
tthiery added a commit that referenced this issue Aug 17, 2020
- Add to steering calibration example

Closes #68 non-breaking
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-hubs enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant