Skip to content
This repository was archived by the owner on Oct 25, 2025. It is now read-only.
theremilaPublic archive

About

Event bus for kotlin

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Flora (New event system: https://github.com/evaware-dev/Flora)

Extremely fast event bus for Kotlin

Usage

class CustomEventData(val text: String)

object CustomEvent : Flora<CustomEventData>()

fun main() {
    // Subscribe to event
    val subscription = CustomEvent.subscribe {
        println("Text: ${it.text}")
    }

    // Notify (post) event
    CustomEvent.notify(CustomEventData("Hello"))

    // Unsubscribe from event
    subscription.unsubscribe()
}

About

Event bus for kotlin

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages