https://github.com/modcord/clock
A clock event loop too fire specific events when the cycle is past an unix timestamp.
https://github.com/modcord/clock
clock cycle unix-timestamp
Last synced: 8 months ago
JSON representation
A clock event loop too fire specific events when the cycle is past an unix timestamp.
- Host: GitHub
- URL: https://github.com/modcord/clock
- Owner: ModCord
- License: mit
- Created: 2020-06-29T17:44:12.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T06:37:47.000Z (over 3 years ago)
- Last Synced: 2025-03-22T08:37:31.503Z (over 1 year ago)
- Topics: clock, cycle, unix-timestamp
- Language: TypeScript
- Homepage:
- Size: 633 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# clock
A clock event loop too fire specific events when the cycle is past an unix timestamp.
Basically instead of having tens-hundreds of randomly instantiated timeouts, the clock simply cycles through the routines and emits an event with the initially passed data in a centralised location, increasing maintanability and possibily performance.