Restate Typescript SDK
    Preparing search index...
    WorkflowOptions: ServiceOptions & {
        enableLazyState?: boolean;
        workflowRetention?: Duration | number;
    }

    Type Declaration

    • OptionalenableLazyState?: boolean

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

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

    • OptionalworkflowRetention?: Duration | number

      The retention duration for this workflow.

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