AgentStateUpdate
Unpublished development API. This package is under development and is not available as a published release.
A partial state a caller sends with a submission. Typed sessions accept the keys of their declared state; untyped sessions accept any plain record.
import type { AgentStateUpdate } from '@threadplane/core';Declaration
export type AgentStateUpdate<TState = unknown> = unknown extends TState ? Readonly<Record<string, PlainValue>> : Partial<TState>;Type parameters
TStateDefault:unknown