Documentation / dataflow / com.femastudios.dataflow.util / then
Go to reference

then

fun <I, O> then(field: Field<I>, transformer: (I) -> Field<O>): Field<O>

See Field.then


fun <I1, I2, O> then(f1: Field<I1>, f2: Field<I2>, transformer: (I1, I2) -> Field<O>): Field<O>
inline fun <I1, I2, I3, O> then(f1: Field<I1>, f2: Field<I2>, f3: Field<I3>, crossinline transformer: (I1, I2, I3) -> Field<O>): Field<O>
inline fun <I1, I2, I3, I4, O> then(f1: Field<I1>, f2: Field<I2>, f3: Field<I3>, f4: Field<I4>, crossinline transformer: (I1, I2, I3, I4) -> Field<O>): Field<O>
inline fun <I1, I2, I3, I4, I5, O> then(f1: Field<I1>, f2: Field<I2>, f3: Field<I3>, f4: Field<I4>, f5: Field<I5>, crossinline transformer: (I1, I2, I3, I4, I5) -> Field<O>): Field<O>
inline fun <I1, I2, I3, I4, I5, I6, O> then(f1: Field<I1>, f2: Field<I2>, f3: Field<I3>, f4: Field<I4>, f5: Field<I5>, f6: Field<I6>, crossinline transformer: (I1, I2, I3, I4, I5, I6) -> Field<O>): Field<O>
inline fun <I1, I2, I3, I4, I5, I6, I7, O> then(f1: Field<I1>, f2: Field<I2>, f3: Field<I3>, f4: Field<I4>, f5: Field<I5>, f6: Field<I6>, f7: Field<I7>, crossinline transformer: (I1, I2, I3, I4, I5, I6, I7) -> Field<O>): Field<O>
inline fun <I1, I2, I3, I4, I5, I6, I7, I8, O> then(f1: Field<I1>, f2: Field<I2>, f3: Field<I3>, f4: Field<I4>, f5: Field<I5>, f6: Field<I6>, f7: Field<I7>, f8: Field<I8>, crossinline transformer: (I1, I2, I3, I4, I5, I6, I7, I8) -> Field<O>): Field<O>
inline fun <I1, I2, I3, I4, I5, I6, I7, I8, I9, O> then(f1: Field<I1>, f2: Field<I2>, f3: Field<I3>, f4: Field<I4>, f5: Field<I5>, f6: Field<I6>, f7: Field<I7>, f8: Field<I8>, f9: Field<I9>, crossinline transformer: (I1, I2, I3, I4, I5, I6, I7, I8, I9) -> Field<O>): Field<O>
inline fun <I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, O> then(f1: Field<I1>, f2: Field<I2>, f3: Field<I3>, f4: Field<I4>, f5: Field<I5>, f6: Field<I6>, f7: Field<I7>, f8: Field<I8>, f9: Field<I9>, f10: Field<I10>, crossinline transformer: (I1, I2, I3, I4, I5, I6, I7, I8, I9, I10) -> Field<O>): Field<O>
inline fun <I, O> then(fields: List<Field<I>>, crossinline transformer: (List<I>) -> Field<O>): Field<O>

Returns a Field whose value mirrors the Field returned by transformer.

When the value of one of the fields changes, the returned Field will change accordingly.

Similar to transform, but transformer returns a Field