Restate Typescript SDK
    Preparing search index...

    A record to send through a Producer. Fields set here override the producer ProducerOptions.defaults.

    interface Invocation {
        body?: string | Uint8Array<ArrayBufferLike>;
        handler?: string;
        headers?: Record<string, string>;
        idempotencyKey?: string;
        invokeAt?: Date;
        key?: string;
        limitKey?: string;
        scope?: string;
        service?: string;
        traceparent?: string;
        tracestate?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    body?: string | Uint8Array<ArrayBufferLike>

    Invocation payload. Strings are encoded as UTF-8.

    handler?: string

    Target handler name.

    headers?: Record<string, string>

    Headers. A record's own headers are added to these, overriding the same keys.

    idempotencyKey?: string

    Idempotency key used by Restate to deduplicate the invocation.

    invokeAt?: Date

    Schedule the invocation at this time.

    key?: string

    Target key, required when the target is a Virtual Object or a Workflow.

    limitKey?: string

    Concurrency/rate limit key.

    scope?: string

    Invocation scope.

    service?: string

    Target service name.

    traceparent?: string

    W3C traceparent.

    tracestate?: string

    W3C tracestate.