Skip to main content
Dotset Labs home page
Search...
⌘K
GitHub
GitHub
Search...
Navigation
Function: profiled
Documentation
GitHub
npm
Introduction
Introduction
Quickstart
Installation
Shield
CLI Commands
Concepts
CI/CD Guides
Security
Tollgate
CLI Commands
Concepts
Integration Guides
Security
API Reference
API Reference
Shield API
Tollgate API
On this page
Function: profiled()
Type Parameters
T
Parameters
fn
operationName?
profiler?
Returns
Function: profiled
Dotset CLI API Documentation
/
index
/ profiled
Function: profiled()
Copy
function
profiled
<
T
>(
fn
,
operationName
?
,
profiler
?
)
:
T
;
Defined in: src/shield/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
⌘I