AnyInputHandler
internal class AnyInputHandler<in Value : Any, out Return>(val valueTypeIfEmpty: KType = nothingType) : AggregatorInputHandler<Value, Return>
Input handler for aggregators that can handle any type of input.
When calculating the value type, it will try to find the common type in terms of inheritance.
Properties
Functions
Link copied to clipboard
If the specific ValueType of the input is not known, but you still want to call aggregate, this function can be called to calculate it in terms of inheritance by combining the set of known valueTypes.
WARNING: HEAVY!
Link copied to clipboard
Link copied to clipboard