Static Event Handler Entry
internal data class StaticEventHandlerEntry(val owner: Class<*>, val invoker: StaticEventInvoker, val priority: Int, val runIfCanceled: Boolean) : EventHandlerEntry
Internal representation of a static event handler.
A StaticEventHandlerEntry describes a handler method that is declared as static (in Java) or as a @JvmStatic member on a Kotlin object/companion. Unlike InstanceEventHandlerEntry, it is not tied to a specific subscriber instance and therefore does not rely on weak references for lifecycle management.
Static handlers remain active until they are explicitly unregistered by the event bus (e.g. via a static unsubscribe API).
Properties
Link copied to clipboard
a precompiled StaticEventInvoker that performs the actual call to the underlying handler method.
Link copied to clipboard
whether this handler should continue to receive events after they have been marked as canceled, subject to the active com.smushytaco.event_library.api.CancelMode.