Interface Async<T>


  • public interface Async<T>
    This interface is used on objects that are inherently asynchronous (like Mina or Netty library calls). The supplyAsyncThenAccept(Callback) method will invoke an async operation that uses the Callback as the completion and exception handler for the operation.
    Author:
    Seth, brozow
    • Method Detail

      • supplyAsyncThenAccept

        void supplyAsyncThenAccept​(Callback<T> cb)

        submit

        Type Parameters:
        T - a T object.
        Parameters:
        cb - a Callback object.