Interface Watcher<T>
- Type Parameters:
T- is the type of the updates.
public interface Watcher<T>
Watches updates of type T.
-
Method Summary
-
Method Details
-
onUpdate
Method called in case of success getting an update.- Parameters:
update- the instance of type T
-
onError
Method called in case there is an error watching for updates.- Parameters:
e- the throwable exception that was caught
-