Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/client
WarpService
Class WarpService<O>
Type parameters
O
Hierarchy
Service
<
O
>
WarpService
Index
Constructors
constructor
Properties
client
observer
Type
observers
roots
Accessors
attached
Methods
attach
Root
detach
Root
did
Attach
did
Attach
Root
did
Detach
did
Detach
Root
did
Observe
did
Unobserve
for
Each
Observer
observe
on
Attach
on
Attach
Root
on
Detach
on
Detach
Root
on
Observe
on
Unobserve
unobserve
will
Attach
will
Attach
Root
will
Detach
will
Detach
Root
will
Observe
will
Unobserve
global
Constructors
constructor
new
Warp
Service<O>
(
client
:
WarpClient
)
:
WarpService
<
O
>
Type parameters
O
Parameters
client:
WarpClient
Returns
WarpService
<
O
>
Properties
Readonly
client
client
:
WarpClient
Optional
Readonly
observer
Type
observer
Type
:
Class
<
WarpServiceObserver
<
O
,
WarpService
<
O
>
>
>
Readonly
observers
observers
:
readonly
WarpServiceObserver
<
O
,
WarpService
<
O
>
>
[]
Readonly
roots
roots
:
readonly
O
[]
Accessors
attached
get
attached
(
)
:
boolean
Returns
boolean
Methods
attach
Root
attach
Root
(
root
:
O
)
:
void
Parameters
root:
O
Returns
void
detach
Root
detach
Root
(
root
:
O
)
:
void
Parameters
root:
O
Returns
void
Protected
did
Attach
did
Attach
(
)
:
void
Returns
void
Protected
did
Attach
Root
did
Attach
Root
(
root
:
O
)
:
void
Parameters
root:
O
Returns
void
Protected
did
Detach
did
Detach
(
)
:
void
Returns
void
Protected
did
Detach
Root
did
Detach
Root
(
root
:
O
)
:
void
Parameters
root:
O
Returns
void
Protected
did
Observe
did
Observe
(
observer
:
WarpServiceObserver
<
O
,
WarpService
<
O
>
>
)
:
void
Parameters
observer:
WarpServiceObserver
<
O
,
WarpService
<
O
>
>
Returns
void
Protected
did
Unobserve
did
Unobserve
(
observer
:
WarpServiceObserver
<
O
,
WarpService
<
O
>
>
)
:
void
Parameters
observer:
WarpServiceObserver
<
O
,
WarpService
<
O
>
>
Returns
void
Protected
for
Each
Observer
for
Each
Observer<T>
(
callback
:
(
observer
:
WarpServiceObserver
<
O
,
WarpService
<
O
>
>
)
=>
void
|
T
)
:
undefined
|
T
Type parameters
T
Parameters
callback:
(
observer
:
WarpServiceObserver
<
O
,
WarpService
<
O
>
>
)
=>
void
|
T
(
observer
:
WarpServiceObserver
<
O
,
WarpService
<
O
>
>
)
:
void
|
T
Parameters
observer:
WarpServiceObserver
<
O
,
WarpService
<
O
>
>
Returns
void
|
T
Returns
undefined
|
T
observe
observe
(
observer
:
WarpServiceObserver
<
O
,
WarpService
<
O
>
>
)
:
void
Parameters
observer:
WarpServiceObserver
<
O
,
WarpService
<
O
>
>
Returns
void
Protected
on
Attach
on
Attach
(
)
:
void
Returns
void
Protected
on
Attach
Root
on
Attach
Root
(
root
:
O
)
:
void
Parameters
root:
O
Returns
void
Protected
on
Detach
on
Detach
(
)
:
void
Returns
void
Protected
on
Detach
Root
on
Detach
Root
(
root
:
O
)
:
void
Parameters
root:
O
Returns
void
Protected
on
Observe
on
Observe
(
observer
:
WarpServiceObserver
<
O
,
WarpService
<
O
>
>
)
:
void
Parameters
observer:
WarpServiceObserver
<
O
,
WarpService
<
O
>
>
Returns
void
Protected
on
Unobserve
on
Unobserve
(
observer
:
WarpServiceObserver
<
O
,
WarpService
<
O
>
>
)
:
void
Parameters
observer:
WarpServiceObserver
<
O
,
WarpService
<
O
>
>
Returns
void
unobserve
unobserve
(
observer
:
WarpServiceObserver
<
O
,
WarpService
<
O
>
>
)
:
void
Parameters
observer:
WarpServiceObserver
<
O
,
WarpService
<
O
>
>
Returns
void
Protected
will
Attach
will
Attach
(
)
:
void
Returns
void
Protected
will
Attach
Root
will
Attach
Root
(
root
:
O
)
:
void
Parameters
root:
O
Returns
void
Protected
will
Detach
will
Detach
(
)
:
void
Returns
void
Protected
will
Detach
Root
will
Detach
Root
(
root
:
O
)
:
void
Parameters
root:
O
Returns
void
Protected
will
Observe
will
Observe
(
observer
:
WarpServiceObserver
<
O
,
WarpService
<
O
>
>
)
:
void
Parameters
observer:
WarpServiceObserver
<
O
,
WarpService
<
O
>
>
Returns
void
Protected
will
Unobserve
will
Unobserve
(
observer
:
WarpServiceObserver
<
O
,
WarpService
<
O
>
>
)
:
void
Parameters
observer:
WarpServiceObserver
<
O
,
WarpService
<
O
>
>
Returns
void
Static
global
global<O>
(
)
:
WarpService
<
O
>
Type parameters
O
Returns
WarpService
<
O
>
Modules
@swim/runtime
@swim/core
@swim/host
@swim/warp
@swim/client
@swim/toolkit
Warp
Service
constructor
client
observer
Type
observers
roots
attached
attach
Root
detach
Root
did
Attach
did
Attach
Root
did
Detach
did
Detach
Root
did
Observe
did
Unobserve
for
Each
Observer
observe
on
Attach
on
Attach
Root
on
Detach
on
Detach
Root
on
Observe
on
Unobserve
unobserve
will
Attach
will
Attach
Root
will
Detach
will
Detach
Root
will
Observe
will
Unobserve
global
Generated using
TypeDoc