MCPcopy
hub / github.com/TanStack/ai / emitState

Method emitState

packages/ai-client/src/devtools.ts:1436–1439  ·  view source on GitHub ↗

Emit the latest snapshot without touching run state.

()

Source from the content-addressed store, hash-verified

1434
1435 /** Emit the latest snapshot without touching run state. */
1436 emitState(): void {
1437 this.emitUpdated()
1438 this.emitSnapshot()
1439 }
1440
1441 // --- Internal ---------------------------------------------------------
1442

Callers 13

ensureRunStartedMethod · 0.95
finishRunMethod · 0.95
recordResultChangeMethod · 0.95
recordLoadingChangeMethod · 0.95
recordErrorChangeMethod · 0.95
recordStatusChangeMethod · 0.95
recordProgressChangeMethod · 0.95
resetMethod · 0.45
setResultMethod · 0.45
recordJobIdChangeMethod · 0.45
resetMethod · 0.45

Calls 2

emitUpdatedMethod · 0.45
emitSnapshotMethod · 0.45

Tested by

no test coverage detected