Restate Typescript SDK
    Preparing search index...

    Configures which virtual object / workflow state keys are preloaded (a.k.a. "eager state") at the start of each invocation.

    • { preload: true }: preload all state (this is the default behavior).
    • { preload: false }: preload nothing.
    • { preload: ["key1", "key2"] }: preload only the listed keys eagerly. This is supported only by Restate >= 1.8
    type StatePreload = {
        preload: boolean | string[];
    }
    Index

    Properties

    Properties

    preload: boolean | string[]