new • Rust AI Agent SDK
new: Create a new stream event
new
Method
</div>
This is a method of the StreamEvent class in the streaming module.
Create a new stream event
Signature
def new(event_type: StreamEventType) -> SelfParameters
ParamField
StreamEventTypeNo description available.
Returns
ResponseField
SelfThe result of the operation.