Event Count • Rust AI Agent SDK

event_count: Get event count

event_count

Method

</div>

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

Get event count

Signature

python
def event_count(&self) -> usize

Returns

ResponseField usize

The result of the operation.