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

rename AsyncState to AsyncStatus and convert it to union type #50

Merged
merged 2 commits into from
Sep 19, 2020

Conversation

ryanatkn
Copy link
Owner

This converts the AsyncState enum to a string union type and renames it to AsyncStatus. The name had been a continuous source of weirdness in consumer code, because "state" is a much less meaningful name than "status". Changing it to a string enum makes it less verbose and easier for consumer code because an explicit import is no longer required.

@ryanatkn ryanatkn merged commit 1580915 into master Sep 19, 2020
@ryanatkn ryanatkn deleted the async-status branch September 19, 2020 17:58
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.

1 participant