Skip to content

Instantly share code, notes, and snippets.

@dnno
Created November 15, 2023 08:20
Show Gist options
  • Save dnno/ff34ed7cab4cd79d8869a0e156882063 to your computer and use it in GitHub Desktop.
Save dnno/ff34ed7cab4cd79d8869a0e156882063 to your computer and use it in GitHub Desktop.
Merging Reactor Monos with vararg parameter
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