constructor Method

ctor for StopWatch

StopWatch(description?: string, startImmediately: boolean = false): StopWatch

Parameter Type Description
description string optional string stored with the StopWatch
startImmediately boolean if true, StopWatch is started when created. Otherwise, call start() explicitly.

Defined in

Last Updated: 08 January, 2020