Documentation
    Preparing search index...
    interface IngressSendOptions<I> {
        delay?: number | Duration;
        headers?: Record<string, string>;
        idempotencyKey?: string;
        input?: Serde<I>;
        output?: Serde<void>;
        signal?: AbortSignal;
        timeout?: number;
    }

    Type Parameters

    • I

    Hierarchy (View Summary)

    Index

    Properties

    delay?: number | Duration

    If set, the invocation will be enqueued now to be executed after the provided delay. In milliseconds.

    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<void>
    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.