Skip to content

timed

timed<T>(name, fn): Promise<T>

Defined in: packages/core/src/utils/timing.ts:36

Run fn, recording its wall duration under name in the active scope.

T

string

() => T | Promise<T>

Promise<T>