Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/Valkey/Cluster/ValkeyClusterClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ public final class ValkeyClusterClient: Sendable {
/// These array of indices are then used to create collections of commands to
/// run on each node
@usableFromInline
func splitCommandsAcrossNodes(commands: [any ValkeyCommand]) async throws -> some Collection<NodeAndCommands> {
func splitCommandsAcrossNodes(commands: [any ValkeyCommand]) async throws -> [ValkeyServerAddress: NodeAndCommands].Values {
var nodeMap: [ValkeyServerAddress: NodeAndCommands] = [:]
var index = commands.startIndex
var prevAddress: ValkeyServerAddress? = nil
Expand Down
Loading