Interface Function<T,​R>


  • public interface Function<T,​R>
    Deprecated.
    Will be removed in favor of pekko.japi.function.Function in Pekko 2.0.0. Since 1.2.0.
    A Function interface. Used to create first-class-functions is Java.

    This class is kept for compatibility, but for future API's please prefer pekko.japi.function.Function.

    • Method Detail

      • apply

        R apply​(T param)
         throws java.lang.Exception
        Deprecated.
        Throws:
        java.lang.Exception