zip3<B, C, Z> method
LoadingState<Z>
zip3<B, C, Z>(
- LoadingState<
B> state2, - LoadingState<
C> state3, - Z transform(
- A rawContent1,
- B rawContent2,
- C rawContent3
Implementation
LoadingState<Z> zip3<B, C, Z>(LoadingState<B> state2, LoadingState<C> state3, Z Function(A rawContent1, B rawContent2, C rawContent3) transform) {
return zip2(state2, (rawContent, B other) {
return Tuple2(rawContent, other);
}).zip2(state3, (rawContent, C other) {
return transform(rawContent.item1, rawContent.item2, other);
});
}