Interface Subscriber

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 Subscriber
This function interface provides one method for dispatching the results from an event.
  • Method Summary

    Modifier and Type
    Method
    Description
    dispatch(Object... params)
    To dispatch results from one event.
  • Method Details

    • dispatch

      Object dispatch(Object... params)
      To dispatch results from one event.
      Parameters:
      params - all the results in an array
      Returns:
      an object or null