class InstanceImpl<I,O,S>
The default AsyncReducer.Impl
implementation.
Implements: AsyncReducer.Instance<I,O>
Type parameters
Name | Description |
---|---|
I | the input element type |
O | the output element type |
S | the reducer state type |
Properties
halted
undocumented
halted
index
undocumented
index
reducer
undocumented
reducer
Definition
readonly reducer:
AsyncReducer.Impl
<I, O, S>;
Methods
getOutput
undocumented
getOutput
halt
Method that, when called, halts the reducer instance so that it will no longer receive values.
halt
next
Sends a new value into the reducer instance.
next
Definition
next(value: I):
MaybePromise
<void>;
Parameters
Name | Type | Description |
---|---|---|
value | I | the next input value |