Skip to content

Conversation

@cybertheory
Copy link

thought it would be useful to describe the current state of the counter. I wanted to check in a listening function that runs every time.

thought it would be useful to describe the current state of the counter. I wanted to check in a listening function that runs every time.
@WiRight
Copy link
Member

WiRight commented May 5, 2023

Hey! Thank you for your PR

How about using enum instead String? let say

enum CountdownState {
 PAUSED,
 STARTED,
 /// ...
}

May it will be more useful and after this i merge this

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