Interface ReactivePubSubCommands.ReactiveRedisSubscriber

Enclosing interface:
ReactivePubSubCommands<V>

public static interface ReactivePubSubCommands.ReactiveRedisSubscriber
A redis subscriber
  • Method Summary

    Modifier and Type
    Method
    Description
    io.smallrye.mutiny.Uni<Void>
    Unsubscribes from all the subscribed channels/patterns
    io.smallrye.mutiny.Uni<Void>
    unsubscribe(String... channels)
    Unsubscribes from the given channels/patterns
  • Method Details

    • 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.