Restate Typescript SDK
    Preparing search index...

    Options for run. Both fields are optional; if name is omitted, the action's Function.name is used (works for named functions and for arrow functions assigned to a const since JS infers names from the binding site). If neither resolves, run throws.

    type RunOpts<T> = {
        name?: string;
        retry?: RetryOptions;
        serde?: Serde<T>;
    }

    Type Parameters

    • T
    Index

    Properties

    Properties

    name?: string

    Journal entry name. Falls back to action.name if absent.

    retry?: RetryOptions

    Retry policy. Defaults to the SDK's defaults if absent.

    serde?: Serde<T>

    Custom serde for the journaled value.