Search
Preparing search index...
The search index is not available
@cosmjs/stream Documentation
Options
All
Public
Public/Protected
All
Inherited
Menu
@cosmjs/stream Documentation
Reducer
Class Reducer<T, U>
Type Parameters
T
U
Hierarchy
Reducer
Index
Constructors
constructor
Methods
finished
value
Constructors
constructor
new
Reducer
<
T
,
U
>
(
stream
:
Stream
<
T
>
, reducer
:
ReducerFunc
<
T
,
U
>
, initState
:
U
)
:
Reducer
<
T
,
U
>
Type Parameters
T
U
Parameters
stream:
Stream
<
T
>
reducer:
ReducerFunc
<
T
,
U
>
initState:
U
Returns
Reducer
<
T
,
U
>
Methods
finished
finished
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
value
value
(
)
:
U
Returns
U
Exports
Reducer
constructor
finished
value
Generated using
TypeDoc