Interface IEvent<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 IEvent<T>
    This function interface provides one method for invoking an event.
    Author:
    kong
    • Method Detail

      • emit

        java.lang.Object emit​(T... args)
        To invoke an event.
        Parameters:
        args - the parameters those will be sent to subscribers
        Returns:
        the subsribe's result