Membrane React - v0.2.1
Console
SDK
REST API
Preparing search index...
useExternalEventSubscription
Function useExternalEventSubscription
useExternalEventSubscription
(
id
:
undefined
|
string
,
)
:
{
externalEventSubscription
:
undefined
|
ExternalEventSubscription
;
accessor
:
undefined
|
ExternalEventSubscriptionAccessor
;
refresh
:
()
=>
Promise
<
ExternalEventSubscription
>
;
setup
:
()
=>
Promise
<
void
>
;
subscribe
:
()
=>
Promise
<
void
>
;
resubscribe
:
()
=>
Promise
<
void
>
;
unsubscribe
:
()
=>
Promise
<
void
>
;
pullEvents
:
()
=>
Promise
<
void
>
;
loading
:
boolean
;
saving
:
boolean
;
error
:
any
;
refreshing
:
boolean
;
create
:
(
data
:
undefined
)
=>
Promise
<
undefined
|
ExternalEventSubscription
>
;
patch
:
(
data
:
undefined
)
=>
Promise
<
void
>
;
put
:
(
data
:
undefined
)
=>
Promise
<
void
>
;
archive
:
()
=>
Promise
<
void
>
;
}
Parameters
id
:
undefined
|
string
Returns
{
externalEventSubscription
:
undefined
|
ExternalEventSubscription
;
accessor
:
undefined
|
ExternalEventSubscriptionAccessor
;
refresh
:
()
=>
Promise
<
ExternalEventSubscription
>
;
setup
:
()
=>
Promise
<
void
>
;
subscribe
:
()
=>
Promise
<
void
>
;
resubscribe
:
()
=>
Promise
<
void
>
;
unsubscribe
:
()
=>
Promise
<
void
>
;
pullEvents
:
()
=>
Promise
<
void
>
;
loading
:
boolean
;
saving
:
boolean
;
error
:
any
;
refreshing
:
boolean
;
create
:
(
data
:
undefined
)
=>
Promise
<
undefined
|
ExternalEventSubscription
>
;
patch
:
(
data
:
undefined
)
=>
Promise
<
void
>
;
put
:
(
data
:
undefined
)
=>
Promise
<
void
>
;
archive
:
()
=>
Promise
<
void
>
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Console
SDK
REST API
Membrane React - v0.2.1
Loading...