Duration Ms • Rust AI Agent SDK

duration_ms: Set duration.

duration_ms

Method

</div>

This is a method of the ContextEvent class in the trace module.

Set duration.

Signature

python
def duration_ms(mut self, ms: u64) -> Self

Parameters

ParamField u64

No description available.

Returns

ResponseField Self

The result of the operation.