Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IListenerImmutable<Data>

A listener can be bound to a generator and listen to events to provide more in-depth information about the convesation trees.

Type parameters

  • Data

Hierarchy

Index

Methods

Methods

bind

  • bind(generator: IEventEmitterListen<IEventRecord<Data>>): this
  • The generator that the listener will listen for events on. The events are processed to provide more information about the conversation tree formations. This will unbind from any current generator.

    Parameters

    Returns this

dispose

  • dispose(): this
  • Cleans up the bindings to the generator and metrics. The metrics will no longer update

    Returns this

unbind

  • unbind(): this