Add Callback • Rust AI Agent SDK
add_callback: Add a callback
add_callback
Method
</div>
This is a method of the StreamHandler class in the streaming module.
Add a callback
Signature
def add_callback(&mut self, callback: impl StreamCallback + 'static) -> ()Parameters
ParamField
impl StreamCallback + 'staticNo description available.
Returns
ResponseField
()The result of the operation.