lsync API
Preparing search index...
@lsync/client
ClientSubscription
Interface ClientSubscription
interface
ClientSubscription
{
ready
:
Promise
<
void
>
;
onDisconnect
?
(
listener
:
()
=>
void
)
:
()
=>
void
;
onReconnect
?
(
listener
:
()
=>
void
)
:
()
=>
void
;
unsubscribe
()
:
void
;
}
Index
Properties
ready
Methods
on
Disconnect?
on
Reconnect?
unsubscribe
Properties
Readonly
ready
ready
:
Promise
<
void
>
Methods
Optional
on
Disconnect
onDisconnect
?
(
listener
:
()
=>
void
)
:
()
=>
void
Parameters
listener
:
()
=>
void
Returns
()
=>
void
Optional
on
Reconnect
onReconnect
?
(
listener
:
()
=>
void
)
:
()
=>
void
Parameters
listener
:
()
=>
void
Returns
()
=>
void
unsubscribe
unsubscribe
()
:
void
Returns
void
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
ready
Methods
on
Disconnect
on
Reconnect
unsubscribe
lsync API
Loading...