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
def event_count(&self) -> usizeReturns
ResponseField
usizeThe result of the operation.