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.

Returns - StopWatch

Defined in

Last Updated: 12 June, 2024