module Redis::Commands::Server
def monitor(&block)
- Yieldparam: line - timestamp and command that was executed
Other tags:
- Yield: - a block to be called for every line of output
def monitor(&block) synchronize do |client| client.call_loop([:monitor], &block) end end