Operator instance implementation OperatorInstance

Constructors

Properties

_answerSubject: Subject<string>
_isDisposed: boolean
agentName: string
callbacks: Partial<IOperatorInstanceCallbacks>
clientId: string
isDisposed: boolean

Disposed flag for child class

Methods

  • Sends an answer

    Parameters

    • content: string

      Answer content

    Returns Promise<void>

  • Connects an answer subscription

    Parameters

    • next: (answer: string) => void

      Answer handler callback

    Returns void

  • Disposes the operator instance

    Returns Promise<void>

  • Init the operator connection

    Returns Promise<void>

  • Sends a notification

    Parameters

    • content: string

      Notification content

    Returns Promise<void>

  • Receives a message

    Parameters

    • message: string

      Message content

    Returns Promise<void>