The OnceEvent is an object containing a value that is to be consumed once and only once.
Example usage:
model.onNavigateHome.consume(this) { // handle event}
This class is not thread-safe.
Consume the non-null event.
Peek at the value of the event, not consuming.