kevy

PUBLISH

Post a message to a channel; returns the receiver count.

语法PUBLISH channel message
分组pubsub
参数个数3
起始版本1.0.0
标志readonly, pubsub
复杂度O(1) channel lookup + O(P) — a linear walk of the registered patterns with one glob match each, even when none match. Delivery fans out only to the shards holding a subscriber
Redis 兼容性full

← 全部命令