BatchableCommand

struct BatchableCommand<ResponseType>
extension BatchableCommand : Sendable

Represents a command that can be batched with other commands. It captures the request info and a closure to transform the response. ResponseType can be any type, including Void. It is typically a subtype of CommandResponse.