AppleSauce
Preparing search index...
applesauce-react
Hooks
useAction
Function useAction
useAction
<
Args
extends
any
[]
>
(
Action
:
ActionConstructor
<
Args
>
,
args
:
undefined
|
Args
,
)
:
{
exec
:
()
=>
undefined
|
Observable
<
Event
>
;
loading
:
boolean
;
run
:
()
=>
Promise
<
void
>
;
}
Type Parameters
Args
extends
any
[]
Parameters
Action
:
ActionConstructor
<
Args
>
args
:
undefined
|
Args
Returns
{
exec
:
()
=>
undefined
|
Observable
<
Event
>
;
loading
:
boolean
;
run
:
()
=>
Promise
<
void
>
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
AppleSauce
Loading...