Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Future eventually method with a supplier of future and deprecate the method with a function #4827

Merged
merged 1 commit into from
Aug 31, 2023

Commits on Aug 31, 2023

  1. The Vertx Future#eventually method takes as parameter a Function<Void…

    …, Future<T>>, this was developed for codegen which did not support Supplier. The Future object is not code generated anymore since Vert.x 4, we can therefore use Supplier which is more suitable.
    
    Add Future#eventually(Supplier<Future<T>>) and deprecate Future#eventually(Function<Void, Future<T>>) for removal in Vert.x 5.
    
    The method is defined as a default method of Future and therefore all Future implementations will have it automatically.
    vietj committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    2290274 View commit details
    Browse the repository at this point in the history