Options
All
  • Public
  • Public/Protected
  • All
Menu

An object that updates the values of a cell range at a given interval.

Hierarchy

  • DataStream

Index

Properties

cellRange: string

The range of cells whose values will be updated by the data stream.

Any changes to this value will be not be reflected until the data stream is restarted.

id: string

The unique id of the data stream.

updateInterval: number

The time (in milliseconds) between updates.

Any changes to this value will be not be reflected until the data stream is restarted.

worksheetId: string

The unique id of the worksheet where this data stream was created.

Methods

  • close(): void
  • Closes the data stream.

    Calling start or stop on a closed data stream will result in an error being thrown.

    throws

    ApiError if the data stream has already been closed.

    Returns void

  • start(): void
  • Starts the data stream and begins updating the values of the cells in cellRange at the period defined in updateInterval.

    Calling start again will restart the data stream, allowing any changes to cellRange or updateInterval to be reflected.

    throws

    ApiError if the data stream has already been closed.

    Returns void

  • stop(): void
  • Stops the data stream.

    throws

    ApiError if the data stream has already been closed.

    Returns void

Generated using TypeDoc