cockpit-plugin-base-react - v1.1.1
    Preparing search index...

    Interface AsyncStreamResult

    Accumulated result of a streaming Cockpit process.

    interface AsyncStreamResult {
        cancel: () => void;
        done: boolean;
        errorMsg: string;
        failed: boolean;
        lines: string[];
    }
    Index

    Properties

    cancel: () => void

    Closes the underlying process and stops accumulating output.

    done: boolean

    true once the process exits (success or failure).

    errorMsg: string

    Error message when failed is true, otherwise empty string.

    failed: boolean

    true when the process exited with an error.

    lines: string[]

    All output lines received so far, with blank lines and CR stripped.