MCPcopy
hub / github.com/redis/go-redis / Clone

Method Clone

command.go:8475–8479  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8473}
8474
8475func (cmd *MonitorCmd) Clone() Cmder {
8476 // MonitorCmd cannot be safely cloned due to channels and goroutines
8477 // Return a new MonitorCmd with the same channel
8478 return newMonitorCmd(cmd.ctx, cmd.ch)
8479}
8480
8481// ExtractCommandValue extracts the value from a command result using the fast enum-based approach
8482func ExtractCommandValue(cmd interface{}) (interface{}, error) {

Callers

nothing calls this directly

Calls 1

newMonitorCmdFunction · 0.85

Tested by

no test coverage detected