MCPcopy Index your code
hub / github.com/TanStack/ai / afterEmit

Method afterEmit

packages/ai-client/src/devtools.ts:1664–1667  ·  view source on GitHub ↗
(streamId?: string)

Source from the content-addressed store, hash-verified

1662 }
1663
1664 private afterEmit(streamId?: string): void {
1665 if (streamId) this.helper.recordStreamId(streamId)
1666 this.helper.emitSnapshot()
1667 }
1668
1669 // -- methods with run context --------------------------------------------
1670

Callers 15

textUpdatedMethod · 0.95
thinkingUpdatedMethod · 0.95
messageAppendedMethod · 0.95
toolCallStateChangedMethod · 0.95
approvalRequestedMethod · 0.95
toolResultAddedMethod · 0.95
toolApprovalRespondedMethod · 0.95
clientCreatedMethod · 0.95
loadingChangedMethod · 0.95
errorChangedMethod · 0.95
reloadedMethod · 0.95

Calls 2

recordStreamIdMethod · 0.45
emitSnapshotMethod · 0.45

Tested by

no test coverage detected