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 - an array of results from an emitter as Object arguments
      Returns:
      an Object result or null
      See Also: