onEvent method
A life-cycle method invoked when CustomProviderListenable.source. changes after the initial event.
It will not be called with the initial value.
selfrepresents thethisobject of the ProviderTransformer2. It offers a convenient way to call ProviderTransformer2.state.
Implementation
void onEvent(AsyncResult<InT> prev, AsyncResult<InT> next) {}