Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IGroupMetricsImmutable<Data>

The metrics for formation groups

Type parameters

  • Data

Hierarchy

Index

Properties

data

data: IGroupDataImmutable | undefined

The current group that is being processed

off

off: Record extends object ? <E extends Exclude<keyof Record, number>>(event: E, listener: IEventEmitterFunction<Record, E>) => this : (event: EventEmitterEvent, listener: IEventEmitterListener<unknown[], unknown, never>) => this

on

on: Record extends object ? <E extends Exclude<keyof Record, number>>(event: E, listener: IEventEmitterFunction<Record, E>) => this : (event: EventEmitterEvent, listener: IEventEmitterListener<unknown[], unknown, never>) => this

once

once: Record extends object ? <E extends Exclude<keyof Record, number>>(event: E, listener: IEventEmitterFunction<Record, E>) => this : (event: EventEmitterEvent, listener: IEventEmitterListener<unknown[], unknown, never>) => this

processing

processing: boolean

Determines if we are processing a group

subscribe

subscribe: Record extends object ? <E extends Exclude<keyof Record, number>>(event: E, listener: IEventEmitterFunction<Record, E>) => IEventEmitterSubscriptionMutable : (event: EventEmitterEvent, listener: IEventEmitterListener<...>) => IEventEmitterSubscriptionMutable

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

unbind

  • unbind(): this