Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BackendStopwatch

A service that exposes the back-end's Stopwatch to clients via the remote API. If you do not need this service then bind or re-bind the NullBackendStopwatch implementation to this service interface.

Hierarchy

  • BackendStopwatch

Index

Methods

Methods

  • stop(measurement: number, message: string, messageArgs: any[]): Promise<void>
  • Stop a measurement previously started and log in the back-end a measurement of its duration relative to the back-end's timeline.

    Parameters

    • measurement: number

      token identifying a measurement previously started

    • message: string

      a message to log

    • messageArgs: any[]

      optional arguments to the message

    Returns Promise<void>