We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40c2ad0 commit 19cd708Copy full SHA for 19cd708
Sources/Valkey/Cluster/ValkeyClusterClient.swift
@@ -485,7 +485,7 @@ public final class ValkeyClusterClient: Sendable {
485
/// These array of indices are then used to create collections of commands to
486
/// run on each node
487
@usableFromInline
488
- func splitCommandsAcrossNodes(commands: [any ValkeyCommand]) async throws -> some Collection<NodeAndCommands> {
+ func splitCommandsAcrossNodes(commands: [any ValkeyCommand]) async throws -> [ValkeyServerAddress: NodeAndCommands].Values {
489
var nodeMap: [ValkeyServerAddress: NodeAndCommands] = [:]
490
var index = commands.startIndex
491
var prevAddress: ValkeyServerAddress? = nil
0 commit comments