IdempotencyKey

org.llm4s.toolapi.IdempotencyKey$package.IdempotencyKey
@Stable

Companion for the IdempotencyKey opaque type.

Attributes

Source
IdempotencyKey.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(value: String): IdempotencyKey

A key with this exact value, such as one read back from an external system's log.

A key with this exact value, such as one read back from an external system's log.

Attributes

Source
IdempotencyKey.scala

Givens

Givens

Encodes as a plain JSON string. Built from upickle's string codecs: inside this scope an IdempotencyKey is a String, so summoning ReadWriter[String] would find this given.

Encodes as a plain JSON string. Built from upickle's string codecs: inside this scope an IdempotencyKey is a String, so summoning ReadWriter[String] would find this given.

Attributes

Source
IdempotencyKey.scala

Extensions

Extensions

extension (key: IdempotencyKey)

Unwraps an IdempotencyKey to the string to send: a header value, a client token, a unique column.

Unwraps an IdempotencyKey to the string to send: a header value, a client token, a unique column.

Attributes

Source
IdempotencyKey.scala