Stream Duration Ms • Rust AI Agent SDK

stream_duration_ms: Stream duration in milliseconds

stream_duration_ms

Method

</div>

This is a method of the StreamMetrics class in the streaming module.

Stream duration in milliseconds

Signature

python
def stream_duration_ms(&self) -> u64

Returns

ResponseField u64

The result of the operation.