Search
Preparing search index...
The search index is not available
swimOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
@swim/streamlet
ReduceFieldsCombinator
Class ReduceFieldsCombinator<K, V, I, O>
Type parameters
K
V
I
O
Hierarchy
ReduceFieldsOperator
<
K
,
V
,
I
,
O
>
ReduceFieldsCombinator
Implements
MapInletOutlet
<
K
,
V
,
I
,
O
>
Index
Constructors
constructor
Methods
accumulate
bind
Input
bind
Output
combine
did
Invalidate
did
Invalidate
Output
Key
did
Reconcile
did
Reconcile
Output
Key
disconnect
Inputs
disconnect
Outputs
get
identity
input
invalidate
invalidate
Input
invalidate
Output
invalidate
Output
Key
map
memoize
on
Invalidate
on
Invalidate
Output
Key
on
Reconcile
on
Reconcile
Output
Key
output
Iterator
reconcile
reconcile
Input
reconcile
Output
reconcile
Output
Key
unbind
Input
unbind
Output
unbind
Outputs
watch
will
Invalidate
will
Invalidate
Output
Key
will
Reconcile
will
Reconcile
Output
Key
Constructors
constructor
new
Reduce
Fields
Combinator
(
identity
:
O
, accumulator
:
function
, combiner
:
function
)
:
ReduceFieldsCombinator
Parameters
identity:
O
accumulator:
function
(
result
:
O
, element
:
V
)
:
O
Parameters
result:
O
element:
V
Returns
O
combiner:
function
(
result
:
O
, result2
:
O
)
:
O
Parameters
result:
O
result2:
O
Returns
O
Returns
ReduceFieldsCombinator
Methods
accumulate
accumulate
(
result
:
O
, value
:
V
)
:
O
Parameters
result:
O
value:
V
Returns
O
bind
Input
bind
Input
(
input
:
MapOutlet
<
K
,
V
,
I
>
)
:
void
Parameters
input:
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
Protected
did
Invalidate
did
Invalidate
(
)
:
void
Returns
void
Protected
did
Invalidate
Output
Key
did
Invalidate
Output
Key
(
key
:
K
, effect
:
KeyEffect
)
:
void
Parameters
key:
K
effect:
KeyEffect
Returns
void
Protected
did
Reconcile
did
Reconcile
(
version
:
number
)
:
void
Parameters
version:
number
Returns
void
Protected
did
Reconcile
Output
Key
did
Reconcile
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
identity
identity
(
)
:
O
Returns
O
input
input
(
)
:
MapOutlet
<
K
,
V
,
I
>
|
null
Returns
MapOutlet
<
K
,
V
,
I
>
|
null
invalidate
invalidate
(
)
:
void
Returns
void
invalidate
Input
invalidate
Input
(
)
:
void
Returns
void
invalidate
Output
invalidate
Output
(
)
:
void
Returns
void
invalidate
Output
Key
invalidate
Output
Key
(
key
:
K
, effect
:
KeyEffect
)
:
void
Parameters
key:
K
effect:
KeyEffect
Returns
void
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
Invalidate
on
Invalidate
(
)
:
void
Returns
void
Protected
on
Invalidate
Output
Key
on
Invalidate
Output
Key
(
key
:
K
, effect
:
KeyEffect
)
:
void
Parameters
key:
K
effect:
KeyEffect
Returns
void
Protected
on
Reconcile
on
Reconcile
(
version
:
number
)
:
void
Parameters
version:
number
Returns
void
Protected
on
Reconcile
Output
Key
on
Reconcile
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
>
>
reconcile
reconcile
(
version
:
number
)
:
void
Parameters
version:
number
Returns
void
reconcile
Input
reconcile
Input
(
version
:
number
)
:
void
Parameters
version:
number
Returns
void
reconcile
Output
reconcile
Output
(
version
:
number
)
:
void
Parameters
version:
number
Returns
void
reconcile
Output
Key
reconcile
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
>
)
:
this
Parameters
func:
WatchValueFunction
<
O
>
Returns
this
Protected
will
Invalidate
will
Invalidate
(
)
:
void
Returns
void
Protected
will
Invalidate
Output
Key
will
Invalidate
Output
Key
(
key
:
K
, effect
:
KeyEffect
)
:
void
Parameters
key:
K
effect:
KeyEffect
Returns
void
Protected
will
Reconcile
will
Reconcile
(
version
:
number
)
:
void
Parameters
version:
number
Returns
void
Protected
will
Reconcile
Output
Key
will
Reconcile
Output
Key
(
key
:
K
, effect
:
KeyEffect
, version
:
number
)
:
void
Parameters
key:
K
effect:
KeyEffect
version:
number
Returns
void
Globals
@swim/core
@swim/codec
@swim/collections
@swim/dataflow
@swim/math
@swim/recon
@swim/streamlet
@swim/structure
@swim/time
@swim/uri
@swim/util
@swim/mesh
@swim/ui
@swim/ux
@swim/web
Reduce
Fields
Combinator
constructor
accumulate
bind
Input
bind
Output
combine
did
Invalidate
did
Invalidate
Output
Key
did
Reconcile
did
Reconcile
Output
Key
disconnect
Inputs
disconnect
Outputs
get
identity
input
invalidate
invalidate
Input
invalidate
Output
invalidate
Output
Key
map
memoize
on
Invalidate
on
Invalidate
Output
Key
on
Reconcile
on
Reconcile
Output
Key
output
Iterator
reconcile
reconcile
Input
reconcile
Output
reconcile
Output
Key
unbind
Input
unbind
Output
unbind
Outputs
watch
will
Invalidate
will
Invalidate
Output
Key
will
Reconcile
will
Reconcile
Output
Key