Membrane React - v0.2.1
Console
SDK
REST API
Preparing search index...
useActionInstance
Function useActionInstance
useActionInstance
(
selector
:
undefined
|
string
|
ActionInstanceSelector
,
)
:
{
actionInstance
:
undefined
|
ActionInstance
;
accessor
:
undefined
|
ActionInstanceAccessor
;
refresh
:
()
=>
Promise
<
ActionInstance
>
;
setup
:
()
=>
Promise
<
void
>
;
reset
:
()
=>
Promise
<
void
>
;
openConfiguration
:
(
options
?:
OpenActionConfigurationOptions
,
)
=>
Promise
<
undefined
|
void
>
;
run
:
(
input
?:
any
)
=>
Promise
<
undefined
|
ActionRunResponse
>
;
loading
:
boolean
;
saving
:
boolean
;
error
:
any
;
refreshing
:
boolean
;
create
:
(
data
:
CreateActionInstanceRequest
,
)
=>
Promise
<
undefined
|
ActionInstance
>
;
patch
:
(
data
:
Partial
<
UpdateRequest
>
)
=>
Promise
<
void
>
;
put
:
(
data
:
UpdateActionInstanceRequest
)
=>
Promise
<
void
>
;
archive
:
()
=>
Promise
<
void
>
;
}
Parameters
selector
:
undefined
|
string
|
ActionInstanceSelector
Returns
{
actionInstance
:
undefined
|
ActionInstance
;
accessor
:
undefined
|
ActionInstanceAccessor
;
refresh
:
()
=>
Promise
<
ActionInstance
>
;
setup
:
()
=>
Promise
<
void
>
;
reset
:
()
=>
Promise
<
void
>
;
openConfiguration
:
(
options
?:
OpenActionConfigurationOptions
,
)
=>
Promise
<
undefined
|
void
>
;
run
:
(
input
?:
any
)
=>
Promise
<
undefined
|
ActionRunResponse
>
;
loading
:
boolean
;
saving
:
boolean
;
error
:
any
;
refreshing
:
boolean
;
create
:
(
data
:
CreateActionInstanceRequest
,
)
=>
Promise
<
undefined
|
ActionInstance
>
;
patch
:
(
data
:
Partial
<
UpdateRequest
>
)
=>
Promise
<
void
>
;
put
:
(
data
:
UpdateActionInstanceRequest
)
=>
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...