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

Cyder Clock #97

Open
NathanCheshire opened this issue Apr 1, 2022 · 1 comment
Open

Cyder Clock #97

NathanCheshire opened this issue Apr 1, 2022 · 1 comment
Assignees

Comments

@NathanCheshire
Copy link
Owner

There should be a synchronization package with a clocksync class that clocks throughout cyder can connect to and request a frequency for their update methods to be called. Should have an interface which classes implement and this will be passed to the clock so that it can invoke a call back method for the class that implements the interface can invoke.

@NathanCheshire NathanCheshire self-assigned this May 19, 2022
@NathanCheshire
Copy link
Owner Author

This will be a whole package, we're getting to the point too where we might want to place specific util classes in specific packages if they'd make sense. For example we could move TimeUtil to a time package and put the watchdog there as well as CyderClock.

CyderClock will use a caller pattern where instances will request when to notify something such as on the hour, on the second, on the millisecond, on the 25th millisecond of each second, etc.

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

No branches or pull requests

1 participant