With Max Events • Rust AI Agent SDK

with_max_events: Set max events.

with_max_events

Method

</div>

This is a method of the TelemetryCollector class in the telemetry module.

Set max events.

Signature

python
def with_max_events(mut self, max: usize) -> Self

Parameters

ParamField usize

No description available.

Returns

ResponseField Self

The result of the operation.