interface Reducer.Instance<I,O>
A reducer instance that manages its own state based on the reducer definition that was used to create this instance.
Implemented by: InstanceImpl<I,O,S>
Type parameters
Name | Description |
---|---|
I | the input element type |
O | the output element type |
Properties
halted
Returns true if the reducer instance does not receive any more values, false otherwise.
halted
Definition
get halted(): boolean;
Methods
getOutput
Returns the output value based on the current given input values.
getOutput
Definition
getOutput(): O;