Restate Typescript SDK
    Preparing search index...

    Type Alias ClientFromDescriptors<H>

    ClientFromDescriptors: {
        readonly [K in keyof H]: [InferInput<H[K]>] extends [void]
            ? (
                opts?: Opts<InferInput<H[K]>, InferOutput<H[K]>>,
            ) => InvocationPromise<InferOutput<H[K]>>
            : (
                input: InferInput<H[K]>,
                opts?: Opts<InferInput<H[K]>, InferOutput<H[K]>>,
            ) => InvocationPromise<InferOutput<H[K]>>
    }

    Typed request/response client derived from a service interface's handler descriptor map H (see iface in @restatedev/restate-sdk-core). Unlike Client, which recovers the phantom handler-map from a ServiceDefinition, this recovers the input/output types directly from the descriptors, so a code-free interface value produces a fully typed client.

    Type Parameters