Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MetricObservable

Metric Observable class to handle asynchronous metrics

Hierarchy

  • MetricObservable

Index

Properties

next

next: function

Sets the next value for observable metric

param

Type declaration

    • (value: number): void
    • Parameters

      • value: number

      Returns void

subscribe

subscribe: function

Subscribes for every value change

param

Type declaration

    • (callback: function): void
    • Parameters

      • callback: function
          • (value: number): void
          • Parameters

            • value: number

            Returns void

      Returns void

unsubscribe

unsubscribe: function

Removes the subscriber

param

Type declaration

    • (callback?: undefined | function): void
    • Parameters

      • Optional callback: undefined | function

      Returns void