A getter is specified by the caller to define a specific method to get the value of a key from a carrier.

1.0.0

interface TextMapGetter<Carrier = any> {
    get(carrier: Carrier, key: string): undefined | string | string[];
    keys(carrier: Carrier): string[];
}

Type Parameters

  • Carrier = any

Methods

Methods