Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @gdgt/devtools

Index

Functions

  • incrementMonitor(id: string, amount?: number): void
  • Increments a given monitor by a given value.

    Parameters

    • id: string

      id of the monitor to increment.

    • amount: number = 1

      The amount to increment by.

    Returns void

  • decrementMonitor(id: string, amount?: number): void
  • Decrements a given monitor by a given value.

    Parameters

    • id: string

      id of the monitor to decrement.

    • amount: number = 1

      The amount to decrement by.

    Returns void

  • updateMonitor(id: string, value: number): void
  • Updates a monitor to a given value.

    Parameters

    • id: string

      id of the monitor to update.

    • value: number

      The new value.

    Returns void

Generated using TypeDoc