TracingContextStorage
このコンテンツはまだ日本語訳がありません。
type TracingContextStorage<TStore> = object;Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
|
|
|
Methods
Section titled “Methods”enterWith()
Section titled “enterWith()”enterWith(store): void;Replaces the active tracing context store. The store is undefined when tracing clears the current scope.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”void
getStore()
Section titled “getStore()”getStore(): TStore | undefined;Returns the active tracing context store, if one exists.
Returns
Section titled “Returns”TStore | undefined
run<TResult>(store, callback): TResult;Runs the callback with the provided store as the active tracing context.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
|
|
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
() => |
Returns
Section titled “Returns”TResult