Restate Typescript SDK
    Preparing search index...

    Type Alias HandlerDef<I, O>Internal

    HandlerDef: { _genFn: (input: I) => Operation<O> } & HandlerDescriptor<I, O>
    • Wraps a generator function with optional serde. Produced by typed(). Discriminated by _genFn for runtime detection (distinct from bare gen fns, which are plain functions rather than objects).

    Type Parameters

    • I = any
    • O = any