Restate Typescript SDK
    Preparing search index...
    GenObjectHandlerOpts: GenHandlerOpts & {
        enableLazyState?: boolean;
        shared?: boolean;
    }

    Handler options for virtual object handlers

    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.

    • Optionalshared?: boolean

      When true, the handler will be marked as shared. Shared object handlers can only read state, not write it.