new • Rust AI Agent SDK

new: Create a new stream handler

new

Method

</div>

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

Create a new stream handler

Signature

python
def new() -> Self

Returns

ResponseField Self

The result of the operation.