Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

on_event

Method
This is a method of the StreamCallback class in the streaming module.
Called when a stream event is emitted

Signature

def on_event(&self, event: &StreamEvent) -> ()

Parameters

event
&StreamEvent
required
No description available.

Returns

Returns
()
The result of the operation.