Member Junction
    Preparing search index...

    Interface RemoteOpResult<TOutput>

    Result of invoking a Remote Operation. Like other MJ result objects, it carries Success + ErrorMessage rather than throwing for logical failures.

    interface RemoteOpResult<TOutput = unknown> {
        ErrorMessage?: string;
        Handle?: string;
        Output?: TOutput;
        ResultCode?: string;
        Success: boolean;
    }

    Type Parameters

    • TOutput = unknown
    Index

    Properties

    ErrorMessage?: string

    Human-readable error detail when Success is false.

    Handle?: string

    Opaque handle (e.g. a ProcessRunID) returned immediately for detached long-running runs.

    Output?: TOutput

    The typed output payload — present for Sync results and attached long-running completion.

    ResultCode?: string

    Machine-readable outcome code (e.g. SUCCESS, UNKNOWN_OPERATION, FORBIDDEN, NOT_SUPPORTED).

    Success: boolean

    True when the operation executed (or was accepted, for detached long-running) successfully.