Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/model
ModelMapDownlink
Interface ModelMapDownlink<M, K, V, KU, VU>
Type parameters
M
:
ModelDownlinkContext
K =
Value
V =
Value
KU =
never
VU =
never
Hierarchy
ModelDownlink
<
M
>
OrderedMap
<
K
,
V
>
ModelMapDownlink
Callable
Model
Map
Downlink
(
key
:
K
|
KU
)
:
undefined
|
V
Model
Map
Downlink
(
key
:
K
|
KU
, value
:
V
|
VU
)
:
M
Parameters
key:
K
|
KU
Returns
undefined
|
V
Parameters
key:
K
|
KU
value:
V
|
VU
Returns
M
Index
Properties
consume
downlink
downlink
Consumers
downlink
Flags
name
own
Body
own
Host
Uri
own
Key
Form
own
Lane
Uri
own
Node
Uri
own
Prio
own
Rate
own
Value
Form
own
Warp
owner
size
Methods
add
Downlink
Consumer
bind
Downlink
body
clear
create
Downlink
delete
did
Add
Downlink
Consumer
did
Mount
did
Remove
Downlink
Consumer
did
Start
Consuming
did
Stop
Consuming
did
Unmount
drop
entries
first
Entry
first
Key
first
Value
for
Each
get
get
Entry
has
host
Uri
init
Body
init
Downlink
init
Host
Uri
init
Lane
Uri
init
Node
Uri
init
Prio
init
Rate
is
Consuming
is
Empty
is
Mounted
key
Form
keys
lane
Uri
last
Entry
last
Key
last
Value
link
mount
next
Entry
next
Key
next
Value
node
Uri
on
Add
Downlink
Consumer
on
Mount
on
Remove
Downlink
Consumer
on
Start
Consuming
on
Stop
Consuming
on
Unmount
previous
Entry
previous
Key
previous
Value
prio
rate
reconcile
relink
remove
Downlink
Consumer
set
set
Downlink
Flags
start
Consuming
stop
Consuming
take
unlink
unmount
value
Form
values
warp
will
Add
Downlink
Consumer
will
Mount
will
Remove
Downlink
Consumer
will
Start
Consuming
will
Stop
Consuming
will
Unmount
Properties
Optional
consume
consume
:
boolean
Readonly
downlink
downlink
:
null
|
MapDownlink
<
K
,
V
,
KU
,
VU
>
Readonly
downlink
Consumers
downlink
Consumers
:
readonly
unknown
[]
Readonly
downlink
Flags
downlink
Flags
:
number
Readonly
name
name
:
undefined
|
string
Readonly
own
Body
own
Body
:
null
|
Value
Readonly
own
Host
Uri
own
Host
Uri
:
null
|
Uri
own
Key
Form
own
Key
Form
:
null
|
Form
<
K
,
KU
>
Readonly
own
Lane
Uri
own
Lane
Uri
:
null
|
Uri
Readonly
own
Node
Uri
own
Node
Uri
:
null
|
Uri
Readonly
own
Prio
own
Prio
:
undefined
|
number
Readonly
own
Rate
own
Rate
:
undefined
|
number
own
Value
Form
own
Value
Form
:
null
|
Form
<
V
,
VU
>
Readonly
own
Warp
own
Warp
:
null
|
WarpRef
Readonly
owner
owner
:
M
Readonly
size
size
:
number
Methods
add
Downlink
Consumer
add
Downlink
Consumer
(
downlinkConsumer
:
unknown
)
:
void
Parameters
downlinkConsumer:
unknown
Returns
void
bind
Downlink
bind
Downlink
(
downlink
:
MapDownlink
<
K
,
V
,
KU
,
VU
>
)
:
MapDownlink
<
K
,
V
,
KU
,
VU
>
Parameters
downlink:
MapDownlink
<
K
,
V
,
KU
,
VU
>
Returns
MapDownlink
<
K
,
V
,
KU
,
VU
>
body
body
(
)
:
null
|
Value
body
(
body
:
AnyValue
)
:
ModelMapDownlink
<
M
,
K
,
V
,
KU
,
VU
>
Returns
null
|
Value
Parameters
body:
AnyValue
Returns
ModelMapDownlink
<
M
,
K
,
V
,
KU
,
VU
>
clear
clear
(
)
:
void
Returns
void
create
Downlink
create
Downlink
(
warp
:
WarpRef
)
:
MapDownlink
<
K
,
V
,
KU
,
VU
>
Parameters
warp:
WarpRef
Returns
MapDownlink
<
K
,
V
,
KU
,
VU
>
delete
delete
(
key
:
K
|
KU
)
:
boolean
Parameters
key:
K
|
KU
Returns
boolean
did
Add
Downlink
Consumer
did
Add
Downlink
Consumer
(
downlinkConsumer
:
unknown
)
:
void
Parameters
downlinkConsumer:
unknown
Returns
void
did
Mount
did
Mount
(
)
:
void
Returns
void
did
Remove
Downlink
Consumer
did
Remove
Downlink
Consumer
(
downlinkConsumer
:
unknown
)
:
void
Parameters
downlinkConsumer:
unknown
Returns
void
did
Start
Consuming
did
Start
Consuming
(
)
:
void
Returns
void
did
Stop
Consuming
did
Stop
Consuming
(
)
:
void
Returns
void
did
Unmount
did
Unmount
(
)
:
void
Returns
void
drop
drop
(
lower
:
number
)
:
ModelMapDownlink
<
M
,
K
,
V
,
KU
,
VU
>
Parameters
lower:
number
Returns
ModelMapDownlink
<
M
,
K
,
V
,
KU
,
VU
>
entries
entries
(
)
:
Cursor
<
[
K
,
V
]
>
Returns
Cursor
<
[
K
,
V
]
>
first
Entry
first
Entry
(
)
:
undefined
|
[
K
,
V
]
Returns
undefined
|
[
K
,
V
]
first
Key
first
Key
(
)
:
undefined
|
K
Returns
undefined
|
K
first
Value
first
Value
(
)
:
undefined
|
V
Returns
undefined
|
V
for
Each
for
Each<T>
(
callback
:
(
key
:
K
, value
:
V
)
=>
void
|
T
)
:
undefined
|
T
for
Each<T, S>
(
callback
:
(
key
:
K
, value
:
V
)
=>
void
|
T
, thisArg
:
S
)
:
undefined
|
T
Type parameters
T
Parameters
callback:
(
key
:
K
, value
:
V
)
=>
void
|
T
(
key
:
K
, value
:
V
)
:
void
|
T
Parameters
key:
K
value:
V
Returns
void
|
T
Returns
undefined
|
T
Type parameters
T
S
Parameters
callback:
(
key
:
K
, value
:
V
)
=>
void
|
T
(
key
:
K
, value
:
V
)
:
void
|
T
Parameters
key:
K
value:
V
Returns
void
|
T
thisArg:
S
Returns
undefined
|
T
get
get
(
key
:
K
|
KU
)
:
undefined
|
V
Parameters
key:
K
|
KU
Returns
undefined
|
V
get
Entry
get
Entry
(
index
:
number
)
:
undefined
|
[
K
,
V
]
Parameters
index:
number
Returns
undefined
|
[
K
,
V
]
has
has
(
key
:
K
|
KU
)
:
boolean
Parameters
key:
K
|
KU
Returns
boolean
host
Uri
host
Uri
(
)
:
null
|
Uri
host
Uri
(
hostUri
:
null
|
AnyUri
)
:
ModelMapDownlink
<
M
,
K
,
V
,
KU
,
VU
>
Returns
null
|
Uri
Parameters
hostUri:
null
|
AnyUri
Returns
ModelMapDownlink
<
M
,
K
,
V
,
KU
,
VU
>
Optional
init
Body
init
Body
(
)
:
AnyValue
Returns
AnyValue
Optional
init
Downlink
init
Downlink
(
downlink
:
MapDownlink
<
K
,
V
,
KU
,
VU
>
)
:
MapDownlink
<
K
,
V
,
KU
,
VU
>
Parameters
downlink:
MapDownlink
<
K
,
V
,
KU
,
VU
>
Returns
MapDownlink
<
K
,
V
,
KU
,
VU
>
Optional
init
Host
Uri
init
Host
Uri
(
)
:
null
|
AnyUri
Returns
null
|
AnyUri
Optional
init
Lane
Uri
init
Lane
Uri
(
)
:
null
|
AnyUri
Returns
null
|
AnyUri
Optional
init
Node
Uri
init
Node
Uri
(
)
:
null
|
AnyUri
Returns
null
|
AnyUri
Optional
init
Prio
init
Prio
(
)
:
undefined
|
number
Returns
undefined
|
number
Optional
init
Rate
init
Rate
(
)
:
undefined
|
number
Returns
undefined
|
number
is
Consuming
is
Consuming
(
)
:
boolean
Returns
boolean
is
Empty
is
Empty
(
)
:
boolean
Returns
boolean
is
Mounted
is
Mounted
(
)
:
boolean
Returns
boolean
key
Form
key
Form
(
)
:
null
|
Form
<
K
,
KU
>
key
Form
(
keyForm
:
null
|
Form
<
K
,
KU
>
)
:
ModelMapDownlink
<
M
,
K
,
V
,
KU
,
VU
>
Returns
null
|
Form
<
K
,
KU
>
Parameters
keyForm:
null
|
Form
<
K
,
KU
>
Returns
ModelMapDownlink
<
M
,
K
,
V
,
KU
,
VU
>
keys
keys
(
)
:
Cursor
<
K
>
Returns
Cursor
<
K
>
lane
Uri
lane
Uri
(
)
:
null
|
Uri
lane
Uri
(
laneUri
:
null
|
AnyUri
)
:
ModelMapDownlink
<
M
,
K
,
V
,
KU
,
VU
>
Returns
null
|
Uri
Parameters
laneUri:
null
|
AnyUri
Returns
ModelMapDownlink
<
M
,
K
,
V
,
KU
,
VU
>
last
Entry
last
Entry
(
)
:
undefined
|
[
K
,
V
]
Returns
undefined
|
[
K
,
V
]
last
Key
last
Key
(
)
:
undefined
|
K
Returns
undefined
|
K
last
Value
last
Value
(
)
:
undefined
|
V
Returns
undefined
|
V
link
link
(
)
:
void
Returns
void
mount
mount
(
)
:
void
Returns
void
next
Entry
next
Entry
(
keyObject
:
K
)
:
undefined
|
[
K
,
V
]
Parameters
keyObject:
K
Returns
undefined
|
[
K
,
V
]
next
Key
next
Key
(
keyObject
:
K
)
:
undefined
|
K
Parameters
keyObject:
K
Returns
undefined
|
K
next
Value
next
Value
(
keyObject
:
K
)
:
undefined
|
V
Parameters
keyObject:
K
Returns
undefined
|
V
node
Uri
node
Uri
(
)
:
null
|
Uri
node
Uri
(
nodeUri
:
null
|
AnyUri
)
:
ModelMapDownlink
<
M
,
K
,
V
,
KU
,
VU
>
Returns
null
|
Uri
Parameters
nodeUri:
null
|
AnyUri
Returns
ModelMapDownlink
<
M
,
K
,
V
,
KU
,
VU
>
on
Add
Downlink
Consumer
on
Add
Downlink
Consumer
(
downlinkConsumer
:
unknown
)
:
void
Parameters
downlinkConsumer:
unknown
Returns
void
on
Mount
on
Mount
(
)
:
void
Returns
void
on
Remove
Downlink
Consumer
on
Remove
Downlink
Consumer
(
downlinkConsumer
:
unknown
)
:
void
Parameters
downlinkConsumer:
unknown
Returns
void
on
Start
Consuming
on
Start
Consuming
(
)
:
void
Returns
void
on
Stop
Consuming
on
Stop
Consuming
(
)
:
void
Returns
void
on
Unmount
on
Unmount
(
)
:
void
Returns
void
previous
Entry
previous
Entry
(
keyObject
:
K
)
:
undefined
|
[
K
,
V
]
Parameters
keyObject:
K
Returns
undefined
|
[
K
,
V
]
previous
Key
previous
Key
(
keyObject
:
K
)
:
undefined
|
K
Parameters
keyObject:
K
Returns
undefined
|
K
previous
Value
previous
Value
(
keyObject
:
K
)
:
undefined
|
V
Parameters
keyObject:
K
Returns
undefined
|
V
prio
prio
(
)
:
undefined
|
number
prio
(
prio
:
undefined
|
number
)
:
ModelMapDownlink
<
M
,
K
,
V
,
KU
,
VU
>
Returns
undefined
|
number
Parameters
prio:
undefined
|
number
Returns
ModelMapDownlink
<
M
,
K
,
V
,
KU
,
VU
>
rate
rate
(
)
:
undefined
|
number
rate
(
rate
:
undefined
|
number
)
:
ModelMapDownlink
<
M
,
K
,
V
,
KU
,
VU
>
Returns
undefined
|
number
Parameters
rate:
undefined
|
number
Returns
ModelMapDownlink
<
M
,
K
,
V
,
KU
,
VU
>
reconcile
reconcile
(
)
:
void
Returns
void
relink
relink
(
)
:
void
Returns
void
remove
Downlink
Consumer
remove
Downlink
Consumer
(
downlinkConsumer
:
unknown
)
:
void
Parameters
downlinkConsumer:
unknown
Returns
void
set
set
(
key
:
K
|
KU
, newValue
:
V
|
VU
)
:
ModelMapDownlink
<
M
,
K
,
V
,
KU
,
VU
>
Parameters
key:
K
|
KU
newValue:
V
|
VU
Returns
ModelMapDownlink
<
M
,
K
,
V
,
KU
,
VU
>
set
Downlink
Flags
set
Downlink
Flags
(
downlinkFlags
:
number
)
:
void
Parameters
downlinkFlags:
number
Returns
void
start
Consuming
start
Consuming
(
)
:
void
Returns
void
stop
Consuming
stop
Consuming
(
)
:
void
Returns
void
take
take
(
upper
:
number
)
:
ModelMapDownlink
<
M
,
K
,
V
,
KU
,
VU
>
Parameters
upper:
number
Returns
ModelMapDownlink
<
M
,
K
,
V
,
KU
,
VU
>
unlink
unlink
(
)
:
void
Returns
void
unmount
unmount
(
)
:
void
Returns
void
value
Form
value
Form
(
)
:
null
|
Form
<
V
,
VU
>
value
Form
(
valueForm
:
null
|
Form
<
V
,
VU
>
)
:
ModelMapDownlink
<
M
,
K
,
V
,
KU
,
VU
>
Returns
null
|
Form
<
V
,
VU
>
Parameters
valueForm:
null
|
Form
<
V
,
VU
>
Returns
ModelMapDownlink
<
M
,
K
,
V
,
KU
,
VU
>
values
values
(
)
:
Cursor
<
V
>
Returns
Cursor
<
V
>
warp
warp
(
)
:
null
|
WarpRef
warp
(
warp
:
null
|
WarpRef
)
:
ModelMapDownlink
<
M
,
K
,
V
,
KU
,
VU
>
Returns
null
|
WarpRef
Parameters
warp:
null
|
WarpRef
Returns
ModelMapDownlink
<
M
,
K
,
V
,
KU
,
VU
>
will
Add
Downlink
Consumer
will
Add
Downlink
Consumer
(
downlinkConsumer
:
unknown
)
:
void
Parameters
downlinkConsumer:
unknown
Returns
void
will
Mount
will
Mount
(
)
:
void
Returns
void
will
Remove
Downlink
Consumer
will
Remove
Downlink
Consumer
(
downlinkConsumer
:
unknown
)
:
void
Parameters
downlinkConsumer:
unknown
Returns
void
will
Start
Consuming
will
Start
Consuming
(
)
:
void
Returns
void
will
Stop
Consuming
will
Stop
Consuming
(
)
:
void
Returns
void
will
Unmount
will
Unmount
(
)
:
void
Returns
void
Modules
@swim/system
@swim/toolkit
@swim/ui
@swim/model
@swim/style
@swim/theme
@swim/view
@swim/dom
@swim/graphics
@swim/component
@swim/ux
@swim/vis
@swim/maps
Model
Map
Downlink
consume
downlink
downlink
Consumers
downlink
Flags
name
own
Body
own
Host
Uri
own
Key
Form
own
Lane
Uri
own
Node
Uri
own
Prio
own
Rate
own
Value
Form
own
Warp
owner
size
add
Downlink
Consumer
bind
Downlink
body
clear
create
Downlink
delete
did
Add
Downlink
Consumer
did
Mount
did
Remove
Downlink
Consumer
did
Start
Consuming
did
Stop
Consuming
did
Unmount
drop
entries
first
Entry
first
Key
first
Value
for
Each
get
get
Entry
has
host
Uri
init
Body
init
Downlink
init
Host
Uri
init
Lane
Uri
init
Node
Uri
init
Prio
init
Rate
is
Consuming
is
Empty
is
Mounted
key
Form
keys
lane
Uri
last
Entry
last
Key
last
Value
link
mount
next
Entry
next
Key
next
Value
node
Uri
on
Add
Downlink
Consumer
on
Mount
on
Remove
Downlink
Consumer
on
Start
Consuming
on
Stop
Consuming
on
Unmount
previous
Entry
previous
Key
previous
Value
prio
rate
reconcile
relink
remove
Downlink
Consumer
set
set
Downlink
Flags
start
Consuming
stop
Consuming
take
unlink
unmount
value
Form
values
warp
will
Add
Downlink
Consumer
will
Mount
will
Remove
Downlink
Consumer
will
Start
Consuming
will
Stop
Consuming
will
Unmount
Generated using
TypeDoc