Interface ReactivePubSubCommands.ReactiveRedisSubscriber
-
- Enclosing interface:
- ReactivePubSubCommands<V>
public static interface ReactivePubSubCommands.ReactiveRedisSubscriber
A redis subscriber
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.smallrye.mutiny.Uni<Void>
unsubscribe()
Unsubscribes from all the subscribed channels/patternsio.smallrye.mutiny.Uni<Void>
unsubscribe(String... channels)
Unsubscribes from the given channels/patterns
-
-
-
Method Detail
-
unsubscribe
io.smallrye.mutiny.Uni<Void> unsubscribe(String... channels)
Unsubscribes from the given channels/patterns- Parameters:
channels
- the channels or patterns- Returns:
- a Uni emitting
null
when the operation completes successfully, a failure otherwise.
-
unsubscribe
io.smallrye.mutiny.Uni<Void> unsubscribe()
Unsubscribes from all the subscribed channels/patterns- Returns:
- a Uni emitting
null
when the operation completes successfully, a failure otherwise.
-
-