klyn.llm.LLMChatSession.contextUsage
property
public readonly property contextUsage as LLMContextUsage
Description

Captures accounting in O(1), without reading mutable message history. Call on the session owner and publish the immutable result to other threads.

Example

output.contextChanged(session.contextUsage)