Clear a single key.
Clear all state for this invocation.
Read a state value. Returns null if the key isn't set.
Optionalserde: Serde<TState extends UntypedState ? TValue : TState[TKey]>List all currently-known state keys.
Write a state value. Sync; journal entry recorded immediately.
Optionalserde: Serde<TState extends UntypedState ? TValue : TState[TKey]>
Read-write state, for handlers running under an ObjectContext or WorkflowContext. Extends SharedState with mutation methods.
Writes are synchronous in the SDK — the journal entry is recorded immediately, no yield required — so
set/clear/clearAllreturnvoidrather thanOperation<void>.