conjoin(_:)

public func conjoin<C>(_ other: Link<C>) -> Link<(B,C)>

conjoin is a compliment to branch. Within the context of a branch it is natural and expected to create parallel execution chains. If the process definition wishes at some point to combine the results of these execution chains, then conjoin should be used. conjoin returns a Link which waits for both the receiver and the argument Links created results. Those results are combined into a tuple (B,C) which is passed to the child links of the returned Link

  • C

    Declaration

    Swift

    public func conjoin<C>(_ other: Link<C>) -> Link<(B,C)>