Documentation / dataflow-async / com.femastudios.dataflow.async / Attribute / then
Go to reference

then

open fun <O> then(flowStrategy: FlowStrategy, transform: WorkContext.(T) -> Attribute<O>): RecomputableAttribute<O>

Like Attribute.transform but the transform function can return an Attribute<O>


open fun <O> then(transform: WorkContext.(T) -> Attribute<O>): RecomputableAttribute<O>

Like Attribute.transform but the transform function can return an Attribute<O> and with the default flow strategy FlowStrategy.EVENTUALLY_CONSISTENT