Restate Typescript SDK
    Preparing search index...

    Interface InvocationReference<O>

    A typed reference to a running invocation. Returned by sendClient() methods (wrapped in Future<InvocationReference<O>>), or created via invocation(id).

    • attach() returns a Future<O> with the serde from the original descriptor.
    • signal() sends a named signal to the target invocation.
    • cancel() cancels the target invocation.
    interface InvocationReference<O = unknown> {
        id: string;
        attach(serde?: Serde<O>): Future<O>;
        cancel(): void;
        signal<T = unknown>(name: string, serde?: Serde<T>): SignalReference<T>;
    }

    Type Parameters

    • O = unknown
    Index

    Properties

    Methods

    Properties

    id: string

    Methods