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
MapInput
Class MapInput<K, V>
Type parameters
K
V
Hierarchy
AbstractMapOutlet
<
K
,
V
,
Map
<
K
,
V
>
>
MapInput
Index
Constructors
constructor
Methods
bind
Output
decohere
Input
decohere
Input
Key
delete
did
Decohere
Input
did
Decohere
Input
Key
did
Recohere
Input
did
Recohere
Input
Key
disconnect
Inputs
disconnect
Outputs
filter
get
has
key
Iterator
map
memoize
on
Decohere
Input
on
Decohere
Input
Key
on
Recohere
Input
on
Recohere
Input
Key
outlet
output
Iterator
recohere
Input
recohere
Input
Key
reduce
set
unbind
Output
unbind
Outputs
watch
will
Decohere
Input
will
Decohere
Input
Key
will
Recohere
Input
will
Recohere
Input
Key
Constructors
constructor
new
Map
Input<K, V>
(
state
?:
BTree
<
K
,
V
,
never
>
)
:
MapInput
<
K
,
V
>
Type parameters
K
V
Parameters
Optional
state:
BTree
<
K
,
V
,
never
>
Returns
MapInput
<
K
,
V
>
Methods
bind
Output
bind
Output
(
output
:
Inlet
<
Map
<
K
,
V
>
>
)
:
void
Parameters
output:
Inlet
<
Map
<
K
,
V
>
>
Returns
void
decohere
Input
decohere
Input
(
)
:
void
Returns
void
decohere
Input
Key
decohere
Input
Key
(
key
:
K
, effect
:
KeyEffect
)
:
void
Parameters
key:
K
effect:
KeyEffect
Returns
void
delete
delete
(
key
:
K
)
:
MapInput
<
K
,
V
>
Parameters
key:
K
Returns
MapInput
<
K
,
V
>
Protected
did
Decohere
Input
did
Decohere
Input
(
)
:
void
Returns
void
Protected
did
Decohere
Input
Key
did
Decohere
Input
Key
(
key
:
K
, effect
:
KeyEffect
)
:
void
Parameters
key:
K
effect:
KeyEffect
Returns
void
Protected
did
Recohere
Input
did
Recohere
Input
(
version
:
number
)
:
void
Parameters
version:
number
Returns
void
Protected
did
Recohere
Input
Key
did
Recohere
Input
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
filter
filter
(
func
:
FilterFieldsFunction
<
K
,
V
>
)
:
MapOutlet
<
K
,
V
,
Map
<
K
,
V
>
>
Parameters
func:
FilterFieldsFunction
<
K
,
V
>
Returns
MapOutlet
<
K
,
V
,
Map
<
K
,
V
>
>
get
get
(
)
:
undefined
|
Map
<
K
,
V
>
get
(
key
:
K
)
:
undefined
|
V
Returns
undefined
|
Map
<
K
,
V
>
Parameters
key:
K
Returns
undefined
|
V
has
has
(
key
:
K
)
:
boolean
Parameters
key:
K
Returns
boolean
key
Iterator
key
Iterator
(
)
:
Cursor
<
K
>
Returns
Cursor
<
K
>
map
map<O2>
(
func
:
MapValueFunction
<
Map
<
K
,
V
>
,
O2
>
)
:
Outlet
<
O2
>
map<V2>
(
func
:
MapFieldValuesFunction
<
K
,
V
,
V2
>
)
:
MapOutlet
<
K
,
V2
,
Map
<
K
,
V2
>
>
Type parameters
O2
Parameters
func:
MapValueFunction
<
Map
<
K
,
V
>
,
O2
>
Returns
Outlet
<
O2
>
Type parameters
V2
Parameters
func:
MapFieldValuesFunction
<
K
,
V
,
V2
>
Returns
MapOutlet
<
K
,
V2
,
Map
<
K
,
V2
>
>
memoize
memoize
(
)
:
MapOutlet
<
K
,
V
,
Map
<
K
,
V
>
>
Returns
MapOutlet
<
K
,
V
,
Map
<
K
,
V
>
>
Protected
on
Decohere
Input
on
Decohere
Input
(
)
:
void
Returns
void
Protected
on
Decohere
Input
Key
on
Decohere
Input
Key
(
key
:
K
, effect
:
KeyEffect
)
:
void
Parameters
key:
K
effect:
KeyEffect
Returns
void
Protected
on
Recohere
Input
on
Recohere
Input
(
version
:
number
)
:
void
Parameters
version:
number
Returns
void
Protected
on
Recohere
Input
Key
on
Recohere
Input
Key
(
key
:
K
, effect
:
KeyEffect
, version
:
number
)
:
void
Parameters
key:
K
effect:
KeyEffect
version:
number
Returns
void
outlet
outlet
(
key
:
K
)
:
Outlet
<
V
>
Parameters
key:
K
Returns
Outlet
<
V
>
output
Iterator
output
Iterator
(
)
:
Iterator
<
Inlet
<
Map
<
K
,
V
>
>
>
Returns
Iterator
<
Inlet
<
Map
<
K
,
V
>
>
>
recohere
Input
recohere
Input
(
version
:
number
)
:
void
Parameters
version:
number
Returns
void
recohere
Input
Key
recohere
Input
Key
(
key
:
K
, version
:
number
)
:
void
Parameters
key:
K
version:
number
Returns
void
reduce
reduce<U>
(
identity
:
U
, accumulator
:
(
result
:
U
, element
:
V
)
=>
U
, combiner
:
(
result
:
U
, result2
:
U
)
=>
U
)
:
Outlet
<
U
>
Type parameters
U
Parameters
identity:
U
accumulator:
(
result
:
U
, element
:
V
)
=>
U
(
result
:
U
, element
:
V
)
:
U
Parameters
result:
U
element:
V
Returns
U
combiner:
(
result
:
U
, result2
:
U
)
=>
U
(
result
:
U
, result2
:
U
)
:
U
Parameters
result:
U
result2:
U
Returns
U
Returns
Outlet
<
U
>
set
set
(
key
:
K
, newValue
:
V
)
:
undefined
|
V
Parameters
key:
K
newValue:
V
Returns
undefined
|
V
unbind
Output
unbind
Output
(
output
:
Inlet
<
Map
<
K
,
V
>
>
)
:
void
Parameters
output:
Inlet
<
Map
<
K
,
V
>
>
Returns
void
unbind
Outputs
unbind
Outputs
(
)
:
void
Returns
void
watch
watch
(
func
:
WatchValueFunction
<
Map
<
K
,
V
>
>
)
:
MapInput
<
K
,
V
>
watch
(
func
:
WatchFieldsFunction
<
K
,
V
>
)
:
MapInput
<
K
,
V
>
Parameters
func:
WatchValueFunction
<
Map
<
K
,
V
>
>
Returns
MapInput
<
K
,
V
>
Parameters
func:
WatchFieldsFunction
<
K
,
V
>
Returns
MapInput
<
K
,
V
>
Protected
will
Decohere
Input
will
Decohere
Input
(
)
:
void
Returns
void
Protected
will
Decohere
Input
Key
will
Decohere
Input
Key
(
key
:
K
, effect
:
KeyEffect
)
:
void
Parameters
key:
K
effect:
KeyEffect
Returns
void
Protected
will
Recohere
Input
will
Recohere
Input
(
version
:
number
)
:
void
Parameters
version:
number
Returns
void
Protected
will
Recohere
Input
Key
will
Recohere
Input
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
Map
Input
constructor
bind
Output
decohere
Input
decohere
Input
Key
delete
did
Decohere
Input
did
Decohere
Input
Key
did
Recohere
Input
did
Recohere
Input
Key
disconnect
Inputs
disconnect
Outputs
filter
get
has
key
Iterator
map
memoize
on
Decohere
Input
on
Decohere
Input
Key
on
Recohere
Input
on
Recohere
Input
Key
outlet
output
Iterator
recohere
Input
recohere
Input
Key
reduce
set
unbind
Output
unbind
Outputs
watch
will
Decohere
Input
will
Decohere
Input
Key
will
Recohere
Input
will
Recohere
Input
Key
Generated using
TypeDoc