• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mlange-42 / arche / 7543381373

16 Jan 2024 02:54PM CUT coverage: 100.0%. Remained the same
7543381373

push

github

web-flow
Listener subscriptions (#334)

* Replaces some fields of `EntityEvent` by a bitmask of triggered event types
* Allows filtering events by a subscriptions mask
* Introduces a `Listener` interface
* Splits out subscriptions and default `Listener` implementation into packages

# Commits

* implement simple listener with subscription for different events
* use a bit mask to encode event types and subscriptions
* remove redundant event fields
* move subscriptions and default listener to separate packages
* run CI on merge requests against any branch
* tweak listener description, add example
* add benchmarks for having a listener that does not subscribe
* update changelog
* replace EntityEvent getters by a Contains method, tweak EntityEvent docs
* add a dispatched listener implementation

5098 of 5098 relevant lines covered (100.0%)

62724.06 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/ecs/batch.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc