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

adds StartAsync with return type #7

Merged
merged 1 commit into from
Nov 10, 2020

Conversation

thoemmi
Copy link
Contributor

@thoemmi thoemmi commented Nov 9, 2020

This PR adds overloads for Spinner.StartAsync, so it's possible to return a result. E.g.

var result = await Spinner.StartAsync("Processing...", async () =>
{
    await Task.Delay(1000 * 3);
    return "done";
});

@mayuki
Copy link
Owner

mayuki commented Nov 10, 2020

Thank you for your contribution! LGTM.

@mayuki mayuki merged commit 5b4f65d into mayuki:master Nov 10, 2020
@thoemmi thoemmi deleted the start-async-with-return-type branch November 10, 2020 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants