Alpine
Alpine copied to clipboard
A lightweight event system for Java 8+
kotlinx-coroutines is a really powerful library and could probably be added to allow kotlin developers to use this without interfering with the rest of the library. Since kotlin is fully...
Currently, all dispatches are immediate, and run on the same thread calling `post`. Some applications may have reason to defer the processing of events to a "main thread" or some...
There's no way to control the underlying implementation of `EventManager.activeListeners`. The current implementation in [3.0.0](#10) is backed by a `Reference2ObjectOpenHashMap`, which is allowed to infinitely grow. However, some applications may...
While there’s no reason why Kotlin can’t be used with Alpine in its current state, there’s probably language features of Kotlin that can be leveraged for nicer/more efficient usage. My...
Currently, Listener priority for events is only used for sorting `Listener` instances in `ListenerGroup`. This works fine if a single event bus is being used without [super listeners](https://github.com/ZeroMemes/Alpine/blob/364689c20c943180d703672ae7d8ba99dacf1ce8/src/main/java/me/zero/alpine/bus/EventManager.java#L54). However, when...