redis.client:pipeline

redis

client:pipeline(commands) -> results, err

Execute multiple Redis commands in a single round-trip (pipelining)

Sends all commands at once and reads all responses. Each entry in commands is an array of arguments (same as cmd varargs). Returns an array of result tables { value, err } in the same order.