Skip to content

Conversation

@LK-Simon
Copy link
Contributor

@LK-Simon LK-Simon commented Sep 3, 2022

  • Introduced a new Custom Event Filtering feature for EventListener.
  • Added .custom case for EventListenerInterest
  • Added customFilter property to addListener everywhere applicable in the library
  • Added documentation (including full code example) for the above in README.md

EventDispatcher had a small typo in a code comment.
- Added support to `EventListener` to take a custom Filter Callback (returning a `Bool` to determine whether or not the `Listener` is interested in the `Eventable`
`BasicEventListenerTests` now contains new test `testEventListenerCustomFilter` which verifies that Custom Event Filtering is working for `EventListener`
- Added `EventListener`'s new *Custom Event Filter* documentation to README.md with a full code sample.
@LK-Simon LK-Simon merged commit 951b5c8 into main Sep 3, 2022
@LK-Simon LK-Simon deleted the custom-event-filtering branch September 3, 2022 16:39
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