Dex TypeScript SDK 1.32.0
    Preparing search index...

    Interface RPCResult<Output>

    Contains a typed RPC output and optional next-Step movements.

    interface RPCResult<Output> {
        cancelingSteps?: readonly StepTarget<any>[];
        nextSteps?: readonly StepMovement<any>[];
        output: Output;
    }

    Type Parameters

    • Output

      Value decoded for the Client caller.

    Index

    Properties

    cancelingSteps?: readonly StepTarget<any>[]

    Registered Step types canceled before nextSteps are scheduled.

    Entries are classes, registered instances, or StepRef values; narrow them before use. The Worker validates them when it applies this result. An invalid target fails the RPC with InvalidStepResultError.

    nextSteps?: readonly StepMovement<any>[]

    Step movements applied atomically with handler persistence writes.

    output: Output

    Typed application result.