Skip to main content
Dotset CLI API Documentation / index / profiled

Function: profiled()

function profiled<T>(
   fn, 
   operationName?, 
   profiler?): T;
Defined in: src/mantle/utils/profiler.ts:543 Create a profiled version of a function

Type Parameters

T

T extends (…args) => unknown

Parameters

fn

T

operationName?

string

profiler?

Returns

T