Reducer

com.phasmid.majabigwaduce.core.Reducer
object Reducer

Type parameters

K2

key type

V2

the aggregation of W objects (in this form, must be super-type of W)

W

value type

Value parameters

g

a function which takes a V2 (the accumulator) and a W (the value) and combines them into a V2

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Reducer.type

Members list

Value members

Concrete methods

def apply[K2, W, V2 >: W](g: (V2, W) => V2): Behavior[ReducerCommand[K2, W, V2]]