Restate Typescript SDK
    Preparing search index...

    Type Alias InvocationOutput<T>Experimental

    InvocationOutput:
        | { status: "running" }
        | { status: "success"; value: T }
        | { error: TerminalError; status: "failure" }

    Output of a target invocation, returned by ContextInternal.getInvocationOutput.

    Use the status field to tell the cases apart:

    • running: the target invocation has not completed yet.
    • success: the target invocation completed successfully, value contains its output.
    • failure: the target invocation completed with a failure, error contains the failure.

    Type Parameters

    • T