@m-bock/gcode-viewer-core
Preparing search index...
GCodeViewer.StateMachines.App
useStateMachineApp
Variable useStateMachineApp
Const
useStateMachineApp
:
()
=>
{
dispatch
:
{
msg
:
(
_
:
Msg
)
=>
void
;
runFetchIndex
:
(
_
:
{
url
:
string
}
)
=>
void
;
}
;
state
:
{
index
:
RemoteData
<
IndexFileItem
[]
>
}
;
}
Type Declaration
()
:
{
dispatch
:
{
msg
:
(
_
:
Msg
)
=>
void
;
runFetchIndex
:
(
_
:
{
url
:
string
}
)
=>
void
;
}
;
state
:
{
index
:
RemoteData
<
IndexFileItem
[]
>
}
;
}
Returns
{
dispatch
:
{
msg
:
(
_
:
Msg
)
=>
void
;
runFetchIndex
:
(
_
:
{
url
:
string
}
)
=>
void
;
}
;
state
:
{
index
:
RemoteData
<
IndexFileItem
[]
>
}
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@m-bock/gcode-viewer-core
Loading...