dependabit / action/src / withTiming
Function: withTiming()
ts
function withTiming<T>(
logger,
operation,
fn): Promise<T>;Defined in: packages/action/src/logger.ts:192
Measure and log operation duration
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
logger | Logger |
operation | string |
fn | () => Promise<T> |
Returns
Promise<T>