Contents

merge(_:_:)

Merges two summary values into a single combined summary.

Declaration

static func merge(_ summary1: Self.Summary, _ summary2: Self.Summary) -> Self.Summary

Parameters

  • summary1:

    The first summary to merge.

  • summary2:

    The second summary to merge.

Return Value

A new summary that represents the combination of both input summaries.

Discussion

This method is called to combine summary values from different branches of the progress manager hierarchy into a unified summary.