Skip to content

V5.0.0 latest only listeners #5

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

Merged
merged 4 commits into from
Aug 30, 2022
Merged

V5.0.0 latest only listeners #5

merged 4 commits into from
Aug 30, 2022

Conversation

LK-Simon
Copy link
Contributor

  • Latest-Only Listeners supported everywhere
  • dispatchTime parameter added to all Event Callbacks (so you can calculate Delta now)
  • README.md updated for all examples, including existing (but interface-changed) and new features

- `EventListener` now supports Latest Only Events
- `EventHandler` now supplements each dispatched `Eventable` with a new `EventDispatchContainer` to encapsulate the `Eventable` alongside its `dispatchTime`
- Necessary refactoring and interface changes made to support the above changes

Next Up: Support for Latest Only Events on `EventReceiving` implementations.
- Updated README.md to reflect `.latestOnly` support in Listeners
- Updated `EventReceiving` and all implementors to support `.latestOnly` as well
- Added `dispatchTime: DispatchTime` on all Callbacks, and providing this value on all Callback invocations.
- Version will bump up to 5.0.0 to reflect this interface-breaking change
- README.md updated to reflect new changes
Event Scheduling Unit Test updated
@LK-Simon LK-Simon merged commit f8aac7c into main Aug 30, 2022
@LK-Simon LK-Simon deleted the v5.0.0_LatestOnlyListeners branch August 30, 2022 10:47
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