@@ -248,8 +248,9 @@ public final actor ValkeyConnection: ValkeyClientProtocol, Sendable {
248
248
/// Another client will never be served in the middle of the execution of these
249
249
/// commands. See https://valkey.io/topics/transactions/ for more information.
250
250
///
251
- /// Once all the responses for the commands have been received the function returns
252
- /// a parameter pack of Results, one for each command.
251
+ /// EXEC and MULTI commands are added to the pipelined commands and the output
252
+ /// of the EXEC command is transformed into a parameter pack of Results, one
253
+ /// for each command.
253
254
///
254
255
/// - Parameter commands: Parameter pack of ValkeyCommands
255
256
/// - Returns: Parameter pack holding the responses of all the commands
@@ -288,13 +289,13 @@ public final actor ValkeyConnection: ValkeyClientProtocol, Sendable {
288
289
/// Another client will never be served in the middle of the execution of these
289
290
/// commands. See https://valkey.io/topics/transactions/ for more information.
290
291
///
291
- /// Once all the responses for the commands have been received the function returns
292
- /// an array of RESPToken Results, one for each command.
292
+ /// EXEC and MULTI commands are added to the pipelined commands and the output
293
+ /// of the EXEC command is transformed into an array of RESPToken Results, one for
294
+ /// each command.
293
295
///
294
- /// This is an alternative version of the pipelining function ``ValkeyConnection/transaction(_:)->(_,_)``
295
- /// that allows for a collection of ValkeyCommands. It provides more flexibility but is
296
- /// slightly more expensive to run and the command responses are returned as ``RESPToken``
297
- /// instead of the response type for the command.
296
+ /// This is an alternative version of the transaction function ``ValkeyConnection/transaction(_:)->(_,_)``
297
+ /// that allows for a collection of ValkeyCommands. It provides more flexibility but the command
298
+ /// responses are returned as ``RESPToken`` instead of the response type for the command.
298
299
///
299
300
/// - Parameter commands: Collection of ValkeyCommands
300
301
/// - Returns: Array holding the RESPToken responses of all the commands
0 commit comments