Mutiny Uni.join().first(list) dosn't compile
See original GitHub issueDescribe the bug
Uni<String> c = Uni.createFrom().item("C");
Uni<String> d = Uni.createFrom().item("D");
List<Uni<String>> asList = new ArrayList<>();
asList.add(c);
asList.add(d);
Uni.join().first(asList).withItem();
'Cannot resolve method ‘first(java.util.List<io.smallrye.mutiny.Uni<java.lang.String>>)’
Expected behavior
No response
Actual behavior
doesn’t compile 'Cannot resolve method ‘first(java.util.List<io.smallrye.mutiny.Uni<java.lang.String>>)’
How to Reproduce?
No response
Output of uname -a
or ver
No response
Output of java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of mvnw --version
or gradlew --version
)
No response
Additional information
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Joining several unis - SmallRye Mutiny
Uni offers the join group to assemble all results from a list of Uni , pick the first one that terminates, or pick...
Read more >Concurrent asynchronous actions with Mutiny - Quarkus
Just create the Unis representing the services or the asynchronous action you want to achieve and combine them using Uni.combine().all() You can ......
Read more >Uni.combine().all().unis() v.s. Multi..onItem ... - Stack Overflow
The combination function receives the list of results in the same order as the combined unis. So combining UniA and UniB will produce...
Read more >Uni (SmallRye Mutiny - Core library 1.1.1 API) - Javadoc.io
Produces a new Uni invoking the given callback when the item event is fired. static UniJoin, join(). Join the results from multiple Uni...
Read more >Home of Quarkus Cheat-Sheet - GitHub Pages
There is no way to scaffold a project in Gradle but you only need to do: ... toString()); } Uni<List<String>> keys() { return...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ennishol There’s a Mutiny 1.2.0 release in the coming days, so it will quickly be available.
Yes I’m thinking of revisiting generics here.