import static com.google.common.base.Preconditions.checkNotNull;
Wraps an event that was posted, but which had no subscribers and thus could
not be delivered.
Registering a DeadEvent subscriber is useful for debugging or logging, as
it can detect misconfigurations in a system's event distribution.
- Cliff Biffle
Creates a new DeadEvent.
source object broadcasting the DeadEvent (generally the
event the event that could not be delivered.
Returns the object that originated this event (not
the object that
originated the wrapped event). This is generally an
- the source of this event.
Returns the wrapped, 'dead' event, which the system was unable to deliver
to any registered subscriber.
- the 'dead' event that could not be delivered.