Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/w3_trace_state/mod.ts>deleteTraceStateValue

Implementation of the W3 Trace Context recommendation for Trace State
Latest
function deleteTraceStateValue
import { deleteTraceStateValue } from "https://deno.land/x/w3_trace_state@v1.1.0/mod.ts";

Removes a key from the TraceState. The key must be a valid trace key and an error will be thrown if it is not

Parameters

state: TraceState

a valid TraceState

key: string

a valid trace key

Returns

a new TraceState with the key removed