Feature Request: Support for Command Pipelining
I am using the RediStack library in my Swift project with Vapor, and I need to send multiple commands to Redis together as a batch to improve performance. However, I couldn't find a direct way to send multiple commands together using the existing API.
Current Behavior
The send(command: String...) function appears to set connection.sendCommandsImmediately = true under the hood, which sends each command immediately and cannot be configured otherwise. Even if I construct RedisCommand myself, I don't see any way to send it manually, only through send(command: String...). Please correct me if I'm wrong.
I found several old discussions about this topic, but all of them seem irrelevant.
I would like just have smth simple like
send(commands: [(String, [Value]])