IOperatorInstance

Interface for Operator instance functionality

connectAnswer: (next: (answer: string) => void) => void

Connects an answer handler

answer: (content: string) => Promise<void>

Sends an answer

init: () => Promise<void>

Init the connection

notify: (content: string) => Promise<void>

Sends a notification

recieveMessage: (message: string) => Promise<void>

Receives a message

dispose: () => Promise<void>

Disposes the operator instance