withTrace
이 콘텐츠는 아직 번역되지 않았습니다.
function withTrace<T>( trace, fn,options?): Promise<T>;This function will create a new trace and assign it to the execution context of the function passed to it.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
|
|
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
|
|
|
‐ |
|
|
( |
The function to run and assign the trace context to. |
|
|
|
Options for the creation of the trace |
Returns
Section titled “Returns”Promise<T>