Callbacks interface for OperatorInstance events
onInit: (clientId: string, agentName: string) => void
Called when operator instance is initialized
onAnswer: (answer: string, clientId: string, agentName: string) => void
Called when operator provides an answer
onMessage: (message: string, clientId: string, agentName: string) => void
Called when operator receives a message
onDispose: (clientId: string, agentName: string) => void
Called when operator instance is disposed
onNotify: (answer: string, clientId: string, agentName: string) => void
Called when operator sends a notification