@dxos/compute - v0.16.0
    Preparing search index...

    Interface Data

    The plain fields of a Process: what a process tree holds, what crosses the wire, and what make turns back into a process.

    interface Data {
        completedAt: Option<number>;
        environment: Environment;
        error: null | SerializedError;
        key: string;
        metrics: { inputCount: number; outputCount: number; wallTime: number };
        params: Params;
        parentPid: null | string & Brand<"ProcessId">;
        pid: string & Brand<"ProcessId">;
        startedAt: number;
        state: Process.State;
    }

    Hierarchy (View Summary)

    Index

    Properties

    completedAt: Option<number>

    UNIX timestamp in milliseconds.

    environment: Environment

    What the process is running on behalf of. See Environment.

    error: null | SerializedError

    How the process failed as a serializable SerializedError (its context carries any structured detail, e.g. a notify override), or null unless it is in FAILED state.

    key: string

    Key of the process.

    NOTE: There might be multiple running processes with the same key.

    metrics: { inputCount: number; outputCount: number; wallTime: number }

    Type declaration

    • ReadonlyinputCount: number

      Total number of inputs submitted to the process.

    • ReadonlyoutputCount: number

      Total number of outputs submitted to the process.

    • ReadonlywallTime: number

      Total wall time of all handler invocations of the process in milliseconds.

    params: Params

    Parameters of the process.

    parentPid: null | string & Brand<"ProcessId">
    pid: string & Brand<"ProcessId">
    startedAt: number

    UNIX timestamp in milliseconds.

    state: Process.State

    State of the process.