Interface WeatherStationEvents

Describes the events fired by the WeatherStation.

Hierarchy

  • WeatherStationEvents

Properties

connect: (() => void)

Type declaration

    • (): void
    • Fires when the connection to the vantage console has been established successfully and the console is awake.

      Returns void

disconnect: (() => void)

Type declaration

    • (): void
    • Fires when the connection to the vantage console closes.

      Returns void

newListener: ((eventName, listener) => void)

Type declaration

    • (eventName, listener): void
    • Inherited event. Fires when a new event listener is added. See here.

      Parameters

      • eventName: string
      • listener: Function

      Returns void

removeListener: ((eventName, listener) => void)

Type declaration

    • (eventName, listener): void
    • Inherited event. Fires when a event listener is removed. See here.

      Parameters

      • eventName: string
      • listener: Function

      Returns void

Generated using TypeDoc