Instance Event Handler Entry
Internal representation of an instance-based event handler.
An InstanceEventHandlerEntry binds a discovered handler method to a specific subscriber object. The subscriber is referenced via a WeakReference, allowing it to be garbage-collected without requiring an explicit unsubscribe call. When the target is collected, the handler is automatically pruned during normal event dispatch or cache maintenance.
Constructors
Properties
a precompiled InstanceEventInvoker that performs the actual call to the instance handler method on target.
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.
a weak reference to the subscriber object that owns the handler method. If this reference is cleared, the handler is treated as invalid and skipped.