Documentation
    Preparing search index...

    Type Alias GenericSend<REQ>

    Send a message to an handler directly avoiding restate's type safety checks. This is a generic mechanism to invoke handlers directly by only knowing the service and handler name, (or key in the case of objects or workflows)

    type GenericSend<REQ> = {
        delay?: Duration | number;
        headers?: Record<string, string>;
        idempotencyKey?: string;
        inputSerde?: Serde<REQ>;
        key?: string;
        method: string;
        parameter: REQ;
        service: string;
    }

    Type Parameters

    • REQ
    Index

    Properties

    delay?: Duration | number
    headers?: Record<string, string>
    idempotencyKey?: string
    inputSerde?: Serde<REQ>
    key?: string
    method: string
    parameter: REQ
    service: string