Skip to content

Repository files navigation

Events

A small event bus system used as a way to push/pull data from a central location.

Usage

Using the event system is as simple as:

val bus = EventBus<Int>()

bus.listen {
    println("Received number: $it")
}

for(i in 1..100) {
    bus.dispatch(i)
}

About

A small event system created using an event bus system

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages