kevy4.0

PSUBSCRIBE

Subscribe to channels matching the given glob patterns.

PSUBSCRIBE pattern [pattern ...]
Group
Pub/Sub
Since
1.0.0
Arity
at least 2
Flags
readonly pubsub

Complexity

O(p * P) — each pattern costs a linear scan of the shared pattern registry

Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.

Redis compatibility

Compatible

Behaves as Redis does.

See also

PUBLISHPUNSUBSCRIBESUBSCRIBEUNSUBSCRIBE

← All commands