Search
Preparing search index...
The search index is not available
swimOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
@swim/client
ValueDownlink
Class ValueDownlink<V, VU>
Type parameters
V
:
VU
VU
Hierarchy
Downlink
ValueDownlink
Implements
Inlet
<
V
>
Outlet
<
V
>
Index
Methods
bind
Input
bind
Output
body
close
command
copy
did
Close
did
Connect
did
Disconnect
did
Fail
did
Invalidate
did
Link
did
Reconcile
did
Set
did
Sync
did
Unlink
disconnect
Inputs
disconnect
Outputs
get
host
Uri
initial
State
input
invalidate
invalidate
Input
invalidate
Output
is
Authenticated
is
Connected
is
Linked
is
Synced
keep
Linked
keep
Synced
lane
Uri
map
memoize
node
Uri
observe
on
Command
on
Event
on
Invalidate
on
Reconcile
open
output
Iterator
prio
rate
reconcile
reconcile
Input
reconcile
Output
session
set
set
State
type
unbind
Input
unbind
Output
unbind
Outputs
unobserve
value
Form
watch
will
Invalidate
will
Link
will
Reconcile
will
Set
will
Sync
will
Unlink
init
Form
Methods
bind
Input
bind
Input
(
input
:
Outlet
<
V
>
|
null
)
:
void
Parameters
input:
Outlet
<
V
>
|
null
Returns
void
bind
Output
bind
Output
(
output
:
Inlet
<
V
>
)
:
void
Parameters
output:
Inlet
<
V
>
Returns
void
body
body
(
)
:
Value
body
(
body
:
AnyValue
)
:
this
Returns
Value
Parameters
body:
AnyValue
Returns
this
close
close
(
)
:
void
Returns
void
command
command
(
body
:
AnyValue
)
:
void
Parameters
body:
AnyValue
Returns
void
Protected
copy
copy
(
context
:
DownlinkContext
, owner
:
DownlinkOwner
|
undefined
, hostUri
:
Uri
, nodeUri
:
Uri
, laneUri
:
Uri
, prio
:
number
, rate
:
number
, body
:
Value
, flags
:
number
, observers
:
ReadonlyArray
<
ValueDownlinkObserver
<
V
,
VU
>
>
|
null
, valueForm
?:
Form
<
V
,
VU
>
, state0
?:
Value
)
:
this
Parameters
context:
DownlinkContext
owner:
DownlinkOwner
|
undefined
hostUri:
Uri
nodeUri:
Uri
laneUri:
Uri
prio:
number
rate:
number
body:
Value
flags:
number
observers:
ReadonlyArray
<
ValueDownlinkObserver
<
V
,
VU
>
>
|
null
Optional
valueForm:
Form
<
V
,
VU
>
Optional
state0:
Value
Returns
this
did
Close
did
Close
(
didClose
:
DownlinkDidClose
)
:
this
Parameters
didClose:
DownlinkDidClose
Returns
this
did
Connect
did
Connect
(
didConnect
:
DownlinkDidConnect
)
:
this
Parameters
didConnect:
DownlinkDidConnect
Returns
this
did
Disconnect
did
Disconnect
(
didDisconnect
:
DownlinkDidDisconnect
)
:
this
Parameters
didDisconnect:
DownlinkDidDisconnect
Returns
this
did
Fail
did
Fail
(
didFail
:
DownlinkDidFail
)
:
this
Parameters
didFail:
DownlinkDidFail
Returns
this
Protected
did
Invalidate
did
Invalidate
(
)
:
void
Returns
void
did
Link
did
Link
(
didLink
:
DownlinkDidLink
)
:
this
Parameters
didLink:
DownlinkDidLink
Returns
this
Protected
did
Reconcile
did
Reconcile
(
version
:
number
)
:
void
Parameters
version:
number
Returns
void
did
Set
did
Set
(
didSet
:
VaueDownlinkDidSet
<
V
,
VU
>
)
:
this
Parameters
didSet:
VaueDownlinkDidSet
<
V
,
VU
>
Returns
this
did
Sync
did
Sync
(
didSync
:
DownlinkDidSync
)
:
this
Parameters
didSync:
DownlinkDidSync
Returns
this
did
Unlink
did
Unlink
(
didUnlink
:
DownlinkDidUnlink
)
:
this
Parameters
didUnlink:
DownlinkDidUnlink
Returns
this
disconnect
Inputs
disconnect
Inputs
(
)
:
void
Returns
void
disconnect
Outputs
disconnect
Outputs
(
)
:
void
Returns
void
get
get
(
)
:
V
Returns
V
host
Uri
host
Uri
(
)
:
Uri
host
Uri
(
hostUri
:
AnyUri
)
:
this
Returns
Uri
Parameters
hostUri:
AnyUri
Returns
this
initial
State
initial
State
(
)
:
Value
initial
State
(
state0
:
Value
)
:
this
Returns
Value
Parameters
state0:
Value
Returns
this
input
input
(
)
:
Outlet
<
V
>
|
null
Returns
Outlet
<
V
>
|
null
invalidate
invalidate
(
)
:
void
Returns
void
invalidate
Input
invalidate
Input
(
)
:
void
Returns
void
invalidate
Output
invalidate
Output
(
)
:
void
Returns
void
is
Authenticated
is
Authenticated
(
)
:
boolean
Returns
boolean
is
Connected
is
Connected
(
)
:
boolean
Returns
boolean
is
Linked
is
Linked
(
)
:
boolean
Returns
boolean
is
Synced
is
Synced
(
)
:
boolean
Returns
boolean
keep
Linked
keep
Linked
(
)
:
boolean
keep
Linked
(
keepLinked
:
boolean
)
:
this
Returns
boolean
Parameters
keepLinked:
boolean
Returns
this
keep
Synced
keep
Synced
(
)
:
boolean
keep
Synced
(
keepSynced
:
boolean
)
:
this
Returns
boolean
Parameters
keepSynced:
boolean
Returns
this
lane
Uri
lane
Uri
(
)
:
Uri
lane
Uri
(
laneUri
:
AnyUri
)
:
this
Returns
Uri
Parameters
laneUri:
AnyUri
Returns
this
map
map<V2>
(
func
:
MapValueFunction
<
V
,
V2
>
)
:
Outlet
<
V2
>
Type parameters
V2
Parameters
func:
MapValueFunction
<
V
,
V2
>
Returns
Outlet
<
V2
>
memoize
memoize
(
)
:
Outlet
<
V
>
Returns
Outlet
<
V
>
node
Uri
node
Uri
(
)
:
Uri
node
Uri
(
nodeUri
:
AnyUri
)
:
this
Returns
Uri
Parameters
nodeUri:
AnyUri
Returns
this
observe
observe
(
observer
:
ValueDownlinkObserver
<
V
,
VU
>
)
:
this
Parameters
observer:
ValueDownlinkObserver
<
V
,
VU
>
Returns
this
on
Command
on
Command
(
onCommand
:
DownlinkOnCommand
)
:
this
Parameters
onCommand:
DownlinkOnCommand
Returns
this
on
Event
on
Event
(
onEvent
:
DownlinkOnEvent
)
:
this
Parameters
onEvent:
DownlinkOnEvent
Returns
this
Protected
on
Invalidate
on
Invalidate
(
)
:
void
Returns
void
Protected
on
Reconcile
on
Reconcile
(
version
:
number
)
:
void
Parameters
version:
number
Returns
void
open
open
(
)
:
this
Returns
this
output
Iterator
output
Iterator
(
)
:
Cursor
<
Inlet
<
V
>
>
Returns
Cursor
<
Inlet
<
V
>
>
prio
prio
(
)
:
number
prio
(
prio
:
number
)
:
this
Returns
number
Parameters
prio:
number
Returns
this
rate
rate
(
)
:
number
rate
(
rate
:
number
)
:
this
Returns
number
Parameters
rate:
number
Returns
this
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
session
session
(
)
:
Value
Returns
Value
set
set
(
newObject
:
VU
)
:
void
Parameters
newObject:
VU
Returns
void
set
State
set
State
(
state
:
Value
)
:
void
Parameters
state:
Value
Returns
void
type
type
(
)
:
DownlinkType
Returns
DownlinkType
unbind
Input
unbind
Input
(
)
:
void
Returns
void
unbind
Output
unbind
Output
(
output
:
Inlet
<
V
>
)
:
void
Parameters
output:
Inlet
<
V
>
Returns
void
unbind
Outputs
unbind
Outputs
(
)
:
void
Returns
void
unobserve
unobserve
(
observer
:
unknown
)
:
this
Parameters
observer:
unknown
Returns
this
value
Form
value
Form
(
)
:
Form
<
V
,
VU
>
value
Form<V2, V2U>
(
valueForm
:
Form
<
V2
,
V2U
>
)
:
ValueDownlink
<
V2
,
V2U
>
Returns
Form
<
V
,
VU
>
Type parameters
V2
:
V2U
V2U
Parameters
valueForm:
Form
<
V2
,
V2U
>
Returns
ValueDownlink
<
V2
,
V2U
>
watch
watch
(
func
:
WatchValueFunction
<
V
>
)
:
this
Parameters
func:
WatchValueFunction
<
V
>
Returns
this
Protected
will
Invalidate
will
Invalidate
(
)
:
void
Returns
void
will
Link
will
Link
(
willLink
:
DownlinkWillLink
)
:
this
Parameters
willLink:
DownlinkWillLink
Returns
this
Protected
will
Reconcile
will
Reconcile
(
version
:
number
)
:
void
Parameters
version:
number
Returns
void
will
Set
will
Set
(
willSet
:
ValueDownlinkWillSet
<
V
,
VU
>
)
:
this
Parameters
willSet:
ValueDownlinkWillSet
<
V
,
VU
>
Returns
this
will
Sync
will
Sync
(
willSync
:
DownlinkWillSync
)
:
this
Parameters
willSync:
DownlinkWillSync
Returns
this
will
Unlink
will
Unlink
(
willUnlink
:
DownlinkWillUnlink
)
:
this
Parameters
willUnlink:
DownlinkWillUnlink
Returns
this
Static
init
Form
init
Form
(
)
:
Form
<
DownlinkInit
|
undefined
>
Returns
Form
<
DownlinkInit
|
undefined
>
Globals
@swim/core
@swim/mesh
@swim/client
@swim/warp
@swim/ui
@swim/ux
@swim/web
Value
Downlink
bind
Input
bind
Output
body
close
command
copy
did
Close
did
Connect
did
Disconnect
did
Fail
did
Invalidate
did
Link
did
Reconcile
did
Set
did
Sync
did
Unlink
disconnect
Inputs
disconnect
Outputs
get
host
Uri
initial
State
input
invalidate
invalidate
Input
invalidate
Output
is
Authenticated
is
Connected
is
Linked
is
Synced
keep
Linked
keep
Synced
lane
Uri
map
memoize
node
Uri
observe
on
Command
on
Event
on
Invalidate
on
Reconcile
open
output
Iterator
prio
rate
reconcile
reconcile
Input
reconcile
Output
session
set
set
State
type
unbind
Input
unbind
Output
unbind
Outputs
unobserve
value
Form
watch
will
Invalidate
will
Link
will
Reconcile
will
Set
will
Sync
will
Unlink
init
Form