com.vaadin.flow.component.

Interface PollNotifier

    • Method Detail

      • addPollListener

        default Registration addPollListener(ComponentEventListener<PollEvent> listener)

        Add a poll listener.

        The listener is called whenever the client polls the server for asynchronous UI updates.

        Parameters:

        listener - the listener to add

        Returns:

        a handle that can be used for removing the listener

        See Also:

        UI.setPollInterval(int)