Documentation
    Preparing search index...

    Type Alias ObjectHandlerOpts<I, O>

    ObjectHandlerOpts: ServiceHandlerOpts<I, O> & { enableLazyState?: boolean }

    Type Parameters

    • I
    • O

    Type declaration

    • OptionalenableLazyState?: boolean

      When set to true, lazy state will be enabled for all invocations to this handler.

      NOTE: You can set this field only if you register this endpoint against restate-server >= 1.4, otherwise the service discovery will fail.