Documentation - v1.2.0-alpha.3
    Preparing search index...

    Represents an entry in the turn state that can be tracked for changes and stored.

    Index

    Constructors

    Accessors

    • get value(): Record<string, unknown>

      Gets the current value of the entry. If the entry was marked for deletion, it will be reset to an empty object and marked as not deleted.

      Returns Record<string, unknown>

      The current value of the entry.

    Methods

    • Replaces the current value with a new value.

      Parameters

      • Optionalvalue: Record<string, unknown>

        The new value to set. If undefined, an empty object will be used.

      Returns void