Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/streamlet
ReduceFieldsCombinator
Class ReduceFieldsCombinator<K, V, I, O>
Type parameters
K
V
I
O
Hierarchy
ReduceFieldsOperator
<
K
,
V
,
I
,
O
>
ReduceFieldsCombinator
Index
Constructors
constructor
Properties
accumulator
combiner
identity
input
state
Methods
accumulate
bind
Input
bind
Output
combine
decohere
decohere
Input
decohere
Output
decohere
Output
Key
did
Decohere
did
Decohere
Output
Key
did
Recohere
did
Recohere
Output
Key
disconnect
Inputs
disconnect
Outputs
get
map
memoize
on
Decohere
on
Decohere
Output
Key
on
Recohere
on
Recohere
Output
Key
output
Iterator
recohere
recohere
Input
recohere
Output
recohere
Output
Key
unbind
Input
unbind
Output
unbind
Outputs
watch
will
Decohere
will
Decohere
Output
Key
will
Recohere
will
Recohere
Output
Key
Constructors
constructor
new
Reduce
Fields
Combinator<K, V, I, O>
(
identity
:
O
, accumulator
:
(
result
:
O
, element
:
V
)
=>
O
, combiner
:
(
result
:
O
, result2
:
O
)
=>
O
)
:
ReduceFieldsCombinator
<
K
,
V
,
I
,
O
>
Type parameters
K
V
I
O
Parameters
identity:
O
accumulator:
(
result
:
O
, element
:
V
)
=>
O
(
result
:
O
, element
:
V
)
:
O
Parameters
result:
O
element:
V
Returns
O
combiner:
(
result
:
O
, result2
:
O
)
=>
O
(
result
:
O
, result2
:
O
)
:
O
Parameters
result:
O
result2:
O
Returns
O
Returns
ReduceFieldsCombinator
<
K
,
V
,
I
,
O
>
Properties
Readonly
accumulator
accumulator
:
(
result
:
O
, element
:
V
)
=>
O
Type declaration
(
result
:
O
, element
:
V
)
:
O
Parameters
result:
O
element:
V
Returns
O
Readonly
combiner
combiner
:
(
result
:
O
, result2
:
O
)
=>
O
Type declaration
(
result
:
O
, result2
:
O
)
:
O
Parameters
result:
O
result2:
O
Returns
O
Readonly
identity
identity
:
O
Readonly
input
input
:
null
|
MapOutlet
<
K
,
V
,
I
>
Readonly
state
state
:
BTree
<
K
,
V
,
O
>
Methods
accumulate
accumulate
(
result
:
O
, value
:
V
)
:
O
Parameters
result:
O
value:
V
Returns
O
bind
Input
bind
Input
(
newInput
:
MapOutlet
<
K
,
V
,
I
>
)
:
void
Parameters
newInput:
MapOutlet
<
K
,
V
,
I
>
Returns
void
bind
Output
bind
Output
(
output
:
Inlet
<
O
>
)
:
void
Parameters
output:
Inlet
<
O
>
Returns
void
combine
combine
(
result
:
O
, value
:
O
)
:
O
Parameters
result:
O
value:
O
Returns
O
decohere
decohere
(
)
:
void
Returns
void
decohere
Input
decohere
Input
(
)
:
void
Returns
void
decohere
Output
decohere
Output
(
)
:
void
Returns
void
decohere
Output
Key
decohere
Output
Key
(
key
:
K
, effect
:
KeyEffect
)
:
void
Parameters
key:
K
effect:
KeyEffect
Returns
void
Protected
did
Decohere
did
Decohere
(
)
:
void
Returns
void
Protected
did
Decohere
Output
Key
did
Decohere
Output
Key
(
key
:
K
, effect
:
KeyEffect
)
:
void
Parameters
key:
K
effect:
KeyEffect
Returns
void
Protected
did
Recohere
did
Recohere
(
version
:
number
)
:
void
Parameters
version:
number
Returns
void
Protected
did
Recohere
Output
Key
did
Recohere
Output
Key
(
key
:
K
, effect
:
KeyEffect
, version
:
number
)
:
void
Parameters
key:
K
effect:
KeyEffect
version:
number
Returns
void
disconnect
Inputs
disconnect
Inputs
(
)
:
void
Returns
void
disconnect
Outputs
disconnect
Outputs
(
)
:
void
Returns
void
get
get
(
)
:
O
Returns
O
map
map<O2>
(
func
:
MapValueFunction
<
O
,
O2
>
)
:
Outlet
<
O2
>
Type parameters
O2
Parameters
func:
MapValueFunction
<
O
,
O2
>
Returns
Outlet
<
O2
>
memoize
memoize
(
)
:
Outlet
<
O
>
Returns
Outlet
<
O
>
Protected
on
Decohere
on
Decohere
(
)
:
void
Returns
void
Protected
on
Decohere
Output
Key
on
Decohere
Output
Key
(
key
:
K
, effect
:
KeyEffect
)
:
void
Parameters
key:
K
effect:
KeyEffect
Returns
void
Protected
on
Recohere
on
Recohere
(
version
:
number
)
:
void
Parameters
version:
number
Returns
void
Protected
on
Recohere
Output
Key
on
Recohere
Output
Key
(
key
:
K
, effect
:
KeyEffect
, version
:
number
)
:
void
Parameters
key:
K
effect:
KeyEffect
version:
number
Returns
void
output
Iterator
output
Iterator
(
)
:
Iterator
<
Inlet
<
O
>
>
Returns
Iterator
<
Inlet
<
O
>
>
recohere
recohere
(
version
:
number
)
:
void
Parameters
version:
number
Returns
void
recohere
Input
recohere
Input
(
version
:
number
)
:
void
Parameters
version:
number
Returns
void
recohere
Output
recohere
Output
(
version
:
number
)
:
void
Parameters
version:
number
Returns
void
recohere
Output
Key
recohere
Output
Key
(
key
:
K
, version
:
number
)
:
void
Parameters
key:
K
version:
number
Returns
void
unbind
Input
unbind
Input
(
)
:
void
Returns
void
unbind
Output
unbind
Output
(
output
:
Inlet
<
O
>
)
:
void
Parameters
output:
Inlet
<
O
>
Returns
void
unbind
Outputs
unbind
Outputs
(
)
:
void
Returns
void
watch
watch
(
func
:
WatchValueFunction
<
O
>
)
:
ReduceFieldsCombinator
<
K
,
V
,
I
,
O
>
Parameters
func:
WatchValueFunction
<
O
>
Returns
ReduceFieldsCombinator
<
K
,
V
,
I
,
O
>
Protected
will
Decohere
will
Decohere
(
)
:
void
Returns
void
Protected
will
Decohere
Output
Key
will
Decohere
Output
Key
(
key
:
K
, effect
:
KeyEffect
)
:
void
Parameters
key:
K
effect:
KeyEffect
Returns
void
Protected
will
Recohere
will
Recohere
(
version
:
number
)
:
void
Parameters
version:
number
Returns
void
Protected
will
Recohere
Output
Key
will
Recohere
Output
Key
(
key
:
K
, effect
:
KeyEffect
, version
:
number
)
:
void
Parameters
key:
K
effect:
KeyEffect
version:
number
Returns
void
Modules
@swim/system
@swim/core
@swim/util
@swim/codec
@swim/mapping
@swim/collections
@swim/constraint
@swim/structure
@swim/streamlet
@swim/dataflow
@swim/recon
@swim/uri
@swim/math
@swim/geo
@swim/time
@swim/mesh
@swim/toolkit
Reduce
Fields
Combinator
constructor
accumulator
combiner
identity
input
state
accumulate
bind
Input
bind
Output
combine
decohere
decohere
Input
decohere
Output
decohere
Output
Key
did
Decohere
did
Decohere
Output
Key
did
Recohere
did
Recohere
Output
Key
disconnect
Inputs
disconnect
Outputs
get
map
memoize
on
Decohere
on
Decohere
Output
Key
on
Recohere
on
Recohere
Output
Key
output
Iterator
recohere
recohere
Input
recohere
Output
recohere
Output
Key
unbind
Input
unbind
Output
unbind
Outputs
watch
will
Decohere
will
Decohere
Output
Key
will
Recohere
will
Recohere
Output
Key
Generated using
TypeDoc