interface StateSnapshot {
    config: RunnableConfig<Record<string, any>>;
    createdAt?: string;
    metadata?: CheckpointMetadata;
    next: string[];
    parentConfig?: RunnableConfig<Record<string, any>>;
    tasks: PregelTaskDescription[];
    values: any;
}

Properties

config: RunnableConfig<Record<string, any>>

Config used to fetch this snapshot

createdAt?: string

Time when the snapshot was created

Metadata about the checkpoint

next: string[]

Nodes to execute in the next step, if any

parentConfig?: RunnableConfig<Record<string, any>>

Config used to fetch the parent snapshot, if any

Default

undefined
tasks: PregelTaskDescription[]

Tasks to execute in this step. If already attempted, may contain an error.

values: any

Current values of channels