Interface SubscriberCallback<T>

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface SubscriberCallback<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Every time the subscriber gets a message, execute the callback on it
  • Method Details

    • callback

      void callback(T t)
      Every time the subscriber gets a message, execute the callback on it
      Parameters:
      t -