$lastEmitted top-level property
Gets the last emitted event of a specific type.
Returns an Option containing the last event if one exists, or None if no event has been emitted.
Implementation
final $lastEmitted = Mediator.events.getLastEmittedEvent;