Master_First_Fold

com.phasmid.majabigwaduce.core.Master_First_Fold

Type parameters

K2

key type: mapper groups things by this key and reducer processes said groups.

V1

input type: the message which this actor responds to is of type Seq[V1].

V2

output type: the message which is sent on completion to the sender is of type Response[K2,V2]

W

transitional type -- used internally

Value parameters

config

an instance of Config which defines a suitable configuration

f

the mapper function which takes a V1 and creates a key-value tuple of type (K2,W), wrapped in Try

g

the reducer function which combines two values (a V2 and a W) into one V2

z

the "zero" or "unit" (i.e. initializer) function which creates an "empty" V2.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply[V1, K2, W, V2](config: Config, f: V1 => Try[(K2, W)], g: (V2, W) => V2, z: () => V2): Behavior[MasterCommand[Unit, V1, K2, V2]]