Documentation
    Preparing search index...

    Interface IngressCallOptions<I, O>

    interface IngressCallOptions<I = unknown, O = unknown> {
        headers?: Record<string, string>;
        idempotencyKey?: string;
        input?: Serde<I>;
        output?: Serde<O>;
        signal?: AbortSignal;
        timeout?: number;
    }

    Type Parameters

    • I = unknown
    • O = unknown

    Hierarchy (View Summary)

    Index

    Properties

    headers?: Record<string, string>

    Headers to attach to the request.

    idempotencyKey?: string

    Key to use for idempotency key.

    See https://docs.restate.dev/operate/invocation#invoke-a-handler-idempotently for more details.

    input?: Serde<I>
    output?: Serde<O>
    signal?: AbortSignal

    Signal to abort the underlying fetch operation. See https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal.

    This field is exclusive with timeout, and using both of them will result in a runtime failure.

    timeout?: number

    Timeout to be used when executing the request. In milliseconds.

    Same as AbortSignal.timeout().

    This field is exclusive with signal, and using both of them will result in a runtime failure.