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

    Variable useStateMachineAppConst

    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[]> };
        }