• Creates a new parallel combinator that merging two computations C1 and C2.

                           +------+  A1
    S --------------+----->|      |--------------+
                    |  T1  |  C1  |              |
             +------|------|      |<------+      V
             |      |      +------+       |  [ joinA ]--> A
             V      |                     |      ^
    T <--[ joinT ]  |      +------+  A2   |      |
             ^      |----->|      |-------|------+
             |         T2  |  C2  |       |
             +-------------|      |<------+-------------- B
                           +------+
    

    Type Parameters

    • T

    • T1

    • T2

    Parameters

    • joinT: ((t1) => ((t2) => T))
        • (t1): ((t2) => T)
        • Parameters

          • t1: T1

          Returns ((t2) => T)

            • (t2): T
            • Parameters

              • t2: T2

              Returns T

    Returns (<A, A1, A2>(joinA) => (<S, B>(computation1) => ((computation2) => Optic<S, T, A, B>)))

      • <A, A1, A2>(joinA): (<S, B>(computation1) => ((computation2) => Optic<S, T, A, B>))
      • Type Parameters

        • A

        • A1

        • A2

        Parameters

        • joinA: ((a1) => ((a2) => A))
            • (a1): ((a2) => A)
            • Parameters

              • a1: A1

              Returns ((a2) => A)

                • (a2): A
                • Parameters

                  • a2: A2

                  Returns A

        Returns (<S, B>(computation1) => ((computation2) => Optic<S, T, A, B>))

          • <S, B>(computation1): ((computation2) => Optic<S, T, A, B>)
          • Type Parameters

            • S

            • B

            Parameters

            • computation1: Optic<S, T1, A1, B>

            Returns ((computation2) => Optic<S, T, A, B>)

              • (computation2): Optic<S, T, A, B>
              • Parameters

                • computation2: Optic<S, T2, A2, B>

                Returns Optic<S, T, A, B>

Generated using TypeDoc