PackageTrack
Sign in Get early access

github.com/kelindar/event

v1.5.2 #3152 most downloaded on Go modules kelindar/event

What this package is like to depend on

Last release 1 years ago

30 Jun 2025

Release timing varies

gaps range from 3 weeks to 2.0 years

Most releases are documented

notes for 8 of 9 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

10 releases · first in 2020

0 releases in the last 12 months

see the full history below

Release timeline

10 releases · Jun 2020 to Jun 2025
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 10
  1. v1.5.3-0.20250630111457-615f1cc28713 30 Jun 2025 pre-release

    Nothing published for this version

  2. v1.5.2 29 May 2025
    Release notes

    What's Changed

    • Add backpressure handling to keep the memory in check when over-publishing by @kelindar in #7

    Full Changelog: v1.5.1...v1.5.2

    Open source →
  3. v1.5.1 29 May 2025
    Release notes

    What's Changed

    • Fix ticker leak and improve readme by @kelindar in #6

    Full Changelog: v1.5.0...v1.5.1

    Open source →
  4. v1.5.0 28 May 2025
    Release notes

    What's Changed

    • Enhance Dispatcher with atomic registry and add concurrent subscription by @kelindar in #5

    Full Changelog: v1.4.1...v1.5.0

    Open source →
  5. v1.4.1 07 Oct 2023
    Release notes

    What's Changed

    • Export default dispatcher

    Full Changelog: v1.3.0...v1.4.1

    Open source →
  6. v1.4.0 26 Dec 2022
    Release notes

    What's Changed

    • Use sync.Cond instead of channel for broadcast by @kelindar in #4

    Full Changelog: v1.3.0...v1.4.0

    Open source →
  7. v1.3.0 03 Dec 2022
    Release notes

    What's Changed

    For convenience, this package now provides a default global dispatcher that can be used with On() and Emit() package-level functions.

    // Subcribe to event A, and automatically unsubscribe at the end
    defer event.On(func(e Event) {
        println("(consumer)", e.Data)
    })()
    
    // Publish few events
    event.Emit(newEventA("event 1"))
    event.Emit(newEventA("event 2"))
    event.Emit(newEventA("event 3"))

    Full Changelog: v1.2.0...v1.3.0

    Open source →
  8. v1.2.0 03 Dec 2022
    Release notes

    What's Changed

    • Make API more usable for generic types by @kelindar in #2

    Full Changelog: v1.1.0...v1.2.0

    Open source →
  9. v1.1.0 18 Jun 2022
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v1.0.0...v1.1.0

    Open source →
  10. v1.0.0 17 Jun 2020

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive