I have a code written in Java 8, using CompletableFuture and handle method:
public interface Move { CompletableFuture move(float i); }