Example
GitHub
Preparing search index...
The search index is not available
ic-reactor
ic-reactor
react
types
ActorGetStateFunction
Type alias ActorGetStateFunction<A, M>
Actor
Get
State
Function
<
A
,
M
>
:
{
(
key
)
:
types
.
ActorMethodReturnType
<
A
[
M
]
>
;
(
key
)
:
boolean
;
(
key
)
:
undefined
|
Error
;
(
)
:
{
data
:
types
.
ActorMethodReturnType
<
A
[
M
]
>
|
undefined
;
loading
:
boolean
;
error
:
Error
|
undefined
;
}
;
}
Type Parameters
A
M
extends
types
.
FunctionName
<
A
>
Type declaration
(
key
)
:
types
.
ActorMethodReturnType
<
A
[
M
]
>
Parameters
key
:
"data"
Returns
types
.
ActorMethodReturnType
<
A
[
M
]
>
(
key
)
:
boolean
Parameters
key
:
"loading"
Returns
boolean
(
key
)
:
undefined
|
Error
Parameters
key
:
"error"
Returns
undefined
|
Error
(
)
:
{
data
:
types
.
ActorMethodReturnType
<
A
[
M
]
>
|
undefined
;
loading
:
boolean
;
error
:
Error
|
undefined
;
}
Returns
{
data
:
types
.
ActorMethodReturnType
<
A
[
M
]
>
|
undefined
;
loading
:
boolean
;
error
:
Error
|
undefined
;
}
data
:
types
.
ActorMethodReturnType
<
A
[
M
]
>
|
undefined
loading
:
boolean
error
:
Error
|
undefined
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
ic-reactor
Loading...