# | Line 29 | Line 29 | import java.util.function.Function; | |
---|---|---|
29 | * <pre> {@code | |
30 | * stage.thenApply(x -> square(x)) | |
31 | * .thenAccept(x -> System.out.print(x)) | |
32 | < | * .thenRun(() -> System.out.println())}</pre> |
32 | > | * .thenRun(() -> System.out.println());}</pre> |
33 | * | |
34 | * An additional form (<em>compose</em>) allows the construction of | |
35 | * computation pipelines from functions returning completion stages. |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |