Search
Preparing search index...
The search index is not available
@iov/stream Documentation
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
Reducer
Class Reducer<T, U>
Type parameters
T
U
Hierarchy
Reducer
Index
Constructors
constructor
Methods
finished
value
Constructors
constructor
new
Reducer
(
stream
:
Stream
<
T
>
, reducer
:
ReducerFunc
<
T
,
U
>
, initState
:
U
)
:
Reducer
Parameters
stream:
Stream
<
T
>
reducer:
ReducerFunc
<
T
,
U
>
initState:
U
Returns
Reducer
Methods
finished
finished
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
value
value
(
)
:
U
Returns
U
Globals
Default
Value
Producer
Reducer
constructor
finished
value
Value
And
Updates
Default
Value
Producer
Callsbacks
Reducer
Func
Same
Type
Stream
Operator
Search
Function
as
Array
concat
count
Stream
drop
Duplicates
first
Event
from
List
Promise
last
Value
to
List
Promise
Generated using
TypeDoc