Interface Observer<T>

  • Type Parameters:
    T - the type of the observable object.
    All Known Implementing Classes:
    ChatStateStore


    public interface Observer<T>
    Defines a mechanism for receiving update notifications when an observable object changes.
    • Method Detail

      • update

        void update(T t)
        Called when an observable object has been updated.
        Parameters:
        t - the updated object