Skip to content

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.

2 participants