psubscribe abstract method

Subscription psubscribe(
  1. List<String> patterns
)

Subscribes the client to the given patterns (e.g., "log:*").

Returns a Subscription object (see subscribe for details). You MUST await subscription.ready before assuming the subscription is active.

Throws a ValkeyClientException if mixing channel and pattern subscriptions.

Implementation

Subscription psubscribe(List<String> patterns);