Created
March 20, 2020 14:02
-
-
Save danielkec/7b54b71f0d7f5f3d0d345a16221a5ccc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Multi.just(1, 2, 3, 4, 5) | |
.flatMap(i -> Multi.just(i, i)) | |
.limit(4) | |
.distinct() | |
.forEach(System.out::println); | |
> 1 | |
> 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment