With Duration • Rust AI Agent SDK

with_duration: Set duration

with_duration

Method

</div>

This is a method of the TaskOutput class in the task module.

Set duration

Signature

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

Parameters

ParamField u64

No description available.

Returns

ResponseField Self

The result of the operation.