aimpress-chatbot/node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-impl.d.ts
“SamoilenkoVadym” 55445dbc86
Some checks failed
Build and deploy Node.js app to Azure Web App - ChatBot2222 / build (push) Has been cancelled
Build and deploy Node.js app to Azure Web App - ChatBot2222 / deploy (push) Has been cancelled
Deploy bot to Azure
2025-04-27 19:55:19 +01:00

22 lines
No EOL
818 B
TypeScript

import { TraceState } from '../trace_state';
/**
* TraceState must be a class and not a simple object type because of the spec
* requirement (https://www.w3.org/TR/trace-context/#tracestate-field).
*
* Here is the list of allowed mutations:
* - New key-value pair should be added into the beginning of the list
* - The value of any key can be updated. Modified keys MUST be moved to the
* beginning of the list.
*/
export declare class TraceStateImpl implements TraceState {
private _internalState;
constructor(rawTraceState?: string);
set(key: string, value: string): TraceStateImpl;
unset(key: string): TraceStateImpl;
get(key: string): string | undefined;
serialize(): string;
private _parse;
private _keys;
private _clone;
}
//# sourceMappingURL=tracestate-impl.d.ts.map