Skip to main content

execute_map_reduce

Function execute_map_reduce 

Source
pub fn execute_map_reduce(
    _config: &MapReduceConfig,
    results: HashMap<FighterId, String>,
) -> MapReduceResult
Expand description

Execute a MapReduce operation with provided results.

In a real system, this would send tasks to fighters and collect results via the messaging system. Here we accept pre-computed results for testability and composability.