Restate Typescript SDK
    Preparing search index...

    Type Alias DescriptorOpts

    Documentation and metadata that can be attached to a service/object/workflow contract or to a single handler declared with iface.

    These values are advisory: they are folded into the service definition when the contract is implemented (see implement()), and surface in the discovery manifest as documentation (from description) and metadata.

    type DescriptorOpts = {
        description?: string;
        metadata?: Record<string, string>;
    }
    Index

    Properties

    description?: string

    Human-readable description, shown in documentation/admin tools.

    metadata?: Record<string, string>

    Arbitrary key/value metadata, exposed via the Admin API.