on<E extends VaultEvent<T> > abstract method
Listens for events of Type T
and its subtypes.
The method is called like this: myVault.on
If the method is called without a type parameter, the Stream contains every event of this Vault.
The returned Stream is a broadcast stream so multiple subscriptions are allowed.
Implementation
Stream<E> on<E extends VaultEvent<T>>();