Created
November 15, 2023 08:20
-
-
Save dnno/ff34ed7cab4cd79d8869a0e156882063 to your computer and use it in GitHub Desktop.
Merging Reactor Monos with vararg parameter
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
zip( | |
userGateway.getUsers(), | |
ordersGateway.getOrders() | |
) { | |
UsersAndOrders( | |
it[0] as Users, | |
it[1] as Orders | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment