Membrane React - v0.6.0
Console
SDK
REST API
Preparing search index...
useElementsBackgroundSync
Function useElementsBackgroundSync
useElementsBackgroundSync
(
handlers
?:
{
onMessage
?:
(
event
:
WorkspaceSyncEvent
)
=>
void
;
onError
?:
(
error
:
Error
)
=>
void
;
onOpen
?:
()
=>
void
;
onInvalidationSuccess
?:
(
event
:
WorkspaceSyncEvent
,
invalidatedKeys
:
string
[]
,
)
=>
void
;
onInvalidationError
?:
(
event
:
WorkspaceSyncEvent
,
error
:
Error
)
=>
void
;
}
,
customClient
?:
IntegrationAppClient
,
disabled
?:
boolean
,
)
:
void
Parameters
Optional
handlers
:
{
onMessage
?:
(
event
:
WorkspaceSyncEvent
)
=>
void
;
onError
?:
(
error
:
Error
)
=>
void
;
onOpen
?:
()
=>
void
;
onInvalidationSuccess
?:
(
event
:
WorkspaceSyncEvent
,
invalidatedKeys
:
string
[]
,
)
=>
void
;
onInvalidationError
?:
(
event
:
WorkspaceSyncEvent
,
error
:
Error
)
=>
void
;
}
Optional
customClient
:
IntegrationAppClient
disabled
:
boolean
= false
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Console
SDK
REST API
Membrane React - v0.6.0
Loading...