Interface WorkPromise<R>

  • Type Parameters:
    R - the result
    All Superinterfaces:
    Future<R>

    public interface WorkPromise<R>
    extends Future<R>
    This class is a java Promise. Java implements the concept of promise with CompletableFuture which is far too complex. Only the interesting methods are kept.
    Author:
    pchretien