Contact Us 1-800-596-4880

Timer Types (dw::util::Timer)

Type Definition Description

DurationMeasurement

type DurationMeasurement = { time: Number, result: T }

A return type that contains the execution time and result of a function call.

TimeMeasurement

type TimeMeasurement = { start: DateTime, result: T, end: DateTime }

A return type that contains a start time, end time, and result of a function call.