Skip to content

5.1.0 - Event "Younger Than" Age added #6

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 2 commits into from
Aug 30, 2022
Merged

Conversation

LK-Simon
Copy link
Contributor

Implemented .youngerThan Event Interest

  • EventListeners now support the .youngerThan interested, specifying a maximumAge parameter to define (in nanoseconds) the maximum age an Eventable can be (from the point of Dispatch) before the Listener is no longer interested in it.
  • EventReceiving types (all of them) now also support the above behaviour.
  • README.md has been updated to provide an example of how to specify an EventListener with a Maximum Age constraint.

- `EventListener`s now support the `.youngerThan` interested, specifying a `maximumAge` parameter to define (in *nanoseconds*) the maximum age an `Eventable` can be (from the point of Dispatch) before the Listener is no longer interested in it.
- `EventReceiving` types (all of them) now also support the above behaviour.
- README.md has been updated to provide an example of how to specify an `EventListener` with a *Maximum Age* constraint.
Changed Swift Tools version from 5.7 to 5.6
@LK-Simon LK-Simon merged commit 9c0924c into main Aug 30, 2022
@LK-Simon LK-Simon deleted the event_younger_than branch August 30, 2022 13:41
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