- newParallel<T, T1, T2>(joinT): (<A, A1, A2>(joinA) => (<S, B>(computation1) => ((computation2) => Optic<S, T, A, B>)))
Parameters
joinT: ((t1) => ((t2) => T))
- (t1): ((t2) => T)
Returns ((t2) => 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>))
Parameters
joinA: ((a1) => ((a2) => A))
- (a1): ((a2) => A)
Returns ((a2) => A)
Returns (<S, B>(computation1) => ((computation2) => Optic<S, T, A, B>))
- <S, B>(computation1): ((computation2) => Optic<S, T, A, 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>
Creates a new parallel combinator that merging two computations
C1
andC2
.