XMLLM Streaming Modes
See how different streaming modes handle the same XML stream differently. Each mode provides a different way of viewing updates as they arrive.
State (Open)
Shows growing state including partial elements
State (Closed)
Shows complete state at each update
Root (Open)
Shows each root element's progress once
Root (Closed)
Shows each complete root element once
State (Open)
Best for live UI updates. Shows all content as it grows, including partial elements.
State (Closed)
Best for clean state updates. Shows the complete state at each point, ignoring partial elements.
Root (Open)
Shows each root element's progress exactly once, including partial content.
Root (Closed)
Shows each complete root element exactly once. Best for processing complete elements.