Restate Typescript SDK
    Preparing search index...

    Type Alias Descriptor<P, H, Kind>

    type Descriptor<
        P extends string = string,
        H extends
            Record<string, HandlerDescriptor> = Record<string, HandlerDescriptor>,
        Kind extends
            "service"
            | "object"
            | "workflow" = "service" | "object" | "workflow",
    > = {
        _description?: string;
        _handlers: H;
        _kind: Kind;
        _metadata?: Record<string, string>;
        name: P;
    }

    Type Parameters

    • P extends string = string
    • H extends Record<string, HandlerDescriptor> = Record<string, HandlerDescriptor>
    • Kind extends "service" | "object" | "workflow" = "service" | "object" | "workflow"
    Index

    Properties

    _description?: string

    service description declared on the contract

    _handlers: H
    _kind: Kind
    _metadata?: Record<string, string>

    service metadata declared on the contract

    name: P