@m-bock/gcode-viewer-core
    Preparing search index...

    Variable useStateMachineAppConst

    useStateMachineApp: () => {
        dispatch: {
            MsgSetFilter: (_: string) => void;
            MsgSetIndex: (
                _: RemoteData<{ content: IndexFileItem[]; url: string }>,
            ) => void;
            runFetchIndex: (_: { url: string }) => void;
        };
        state: PubState;
    }

    Type Declaration

      • (): {
            dispatch: {
                MsgSetFilter: (_: string) => void;
                MsgSetIndex: (
                    _: RemoteData<{ content: IndexFileItem[]; url: string }>,
                ) => void;
                runFetchIndex: (_: { url: string }) => void;
            };
            state: PubState;
        }
      • Returns {
            dispatch: {
                MsgSetFilter: (_: string) => void;
                MsgSetIndex: (
                    _: RemoteData<{ content: IndexFileItem[]; url: string }>,
                ) => void;
                runFetchIndex: (_: { url: string }) => void;
            };
            state: PubState;
        }