AbstractAction

abstract class AbstractAction<in T : Any, R : Any>(val outputType: KType) : Action<T, R>

An action that caches results on-demand and recalculates them on source push

Constructors

Link copied to clipboard
constructor(outputType: KType)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun execute(dataSet: DataSet<T>, meta: Meta): DataSet<R>

Transform the data in the node, producing a new node. By default, it is assumed that all calculations are lazy so not actual computation is started at this moment.

Link copied to clipboard
operator fun <T : Any, R : Any> Action<T, R>.invoke(dataSet: DataSet<T>, meta: Meta = Meta.EMPTY): DataSet<R>
Link copied to clipboard
infix fun <T : Any, I : Any, R : Any> Action<T, I>.then(action: Action<I, R>): Action<T, R>

Action composition. The result is terminal if one of its parts is terminal