List of usage examples for java.util.concurrent CompletableFuture thenApplyAsync
public <U> CompletableFuture<U> thenApplyAsync(Function<? super T, ? extends U> fn)
From source file:io.flutter.inspector.DiagnosticsNode.java
public CompletableFuture<ArrayList<DiagnosticsNode>> getProperties(InspectorService.ObjectGroup objectGroup) { final CompletableFuture<ArrayList<DiagnosticsNode>> properties = objectGroup .getProperties(getDartDiagnosticRef()); return properties.thenApplyAsync(this::trackPropertiesMatchingParameters); }