Skip to content

v2.0.0

Choose a tag to compare

@an-dr an-dr released this 04 Feb 19:14
· 3 commits to main since this release
732fc43
  • 🚌 EventBus
    • Hide mutexes inside the struct
    • Add marking events with unique event IDs
    • Not both subs and pubs are connected using add_publisher/add_subscriber methods
  • 📤 Publisher:
    • Rename Publisher->EventEmitter
    • Add Publisher trait
    • EventEmitter (ex Publisher) now accept bare type without an Event wrapper (done internally)
    • Replace new(bus) method with new(), set_bus(bus) and with_bus(bus)