* Monitor - represents a Redis MONITOR command, allowing the user to capture and process all commands sent to a Redis server. This mimics the behavior of MONITOR in the redis-cli. Notes: - Using MONITOR blocks the connection to the server for itself. It needs a dedicated connection - The user shoul
(ctx context.Context, ch chan string)
| 814 | See further: Redis MONITOR command: https://redis.io/commands/monitor |
| 815 | */ |
| 816 | func (c cmdable) Monitor(ctx context.Context, ch chan string) *MonitorCmd { |
| 817 | cmd := newMonitorCmd(ctx, ch) |
| 818 | _ = c(ctx, cmd) |
| 819 | return cmd |
| 820 | } |