Factory
fun <Param1, Value : Any, Return> Factory(getAggregator: (param1: Param1) -> AggregatorProvider<Value, Return>): Provider<AggregatorOptionSwitch1<Param1, Value, Return>>
Creates AggregatorOptionSwitch1.
Used like:
val myAggregator by AggregatorOptionSwitch1.Factory { param1: Param1 ->
MyAggregator.Factory(param1)
}Content copied to clipboard