on<T extends JozzEvent> abstract method
Returns a stream of domain events of type T.
This method filters the event stream to only include events of the specified type.
Implementation
Stream<T> on<T extends JozzEvent>();