Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Recorder

Hierarchy

  • Recorder

Index

Constructors

constructor

  • new Recorder(client: InfluxDB, name: string): Recorder

Properties

Private client

client: InfluxDB

Private interval

interval: number = 0

Private measurement

measurement: string = ""

Private routineFunc

routineFunc: function | undefined

Private timer

timer: Timeout | undefined

Methods

every

  • every(pointFunc: function, interval: number): this
  • Parameters

    • pointFunc: function
        • (): IPoint
        • Returns IPoint

    • interval: number

    Returns this

startRecording

  • startRecording(): void

stop

  • stop(): void

Generated using TypeDoc