In Smallrye Mutiny, I can add a timeout to a Uni
using something like:
uni.ifNoItem().after(Duration.ofMinutes(5)).fail()
I searched for a similar API for a Multi
but couldn't find any. Features I would have expected are:
- do something if no item has been emitted for some time
- do something if the
Multi
has not completed within a given time
Can this be achieved somehow?