Selector3
public class Selector3<State, S1, S2, S3, Value>: Selector<State, Value> where
S1: SelectorProtocol, S1.State == State,
S2: SelectorProtocol, S2.State == State,
S3: SelectorProtocol, S3.State == State
A Selector
created from three Selector
s and a projector
function.
-
A pure function which takes the
Value
s from the otherSelector
s and returns a newValue
.Declaration
Swift
public let projector: (S1.Value, S2.Value, S3.Value) -> Value
-
Declaration
Swift
public init(_ selector1: S1, _ selector2: S2, _ selector3: S3, _ projector: @escaping (S1.Value, S2.Value, S3.Value) -> Value)