effect-io-ai

Package: effect
Module: MetricKey

MetricKey.tagged

Returns a new MetricKey with the specified tag appended.

Signature

declare const tagged: { (key: string, value: string): <Type extends MetricKeyType.MetricKeyType<any, any>>(self: MetricKey<Type>) => MetricKey<Type>; <Type extends MetricKeyType.MetricKeyType<any, any>>(self: MetricKey<Type>, key: string, value: string): MetricKey<Type>; }

Source

Since v2.0.0