Liking cljdoc? Tell your friends :D
Clojure only.

temporal.codec

Methods for managing codecs between a client and the Temporal backend

Methods for managing codecs between a client and the Temporal backend
raw docstring

Codeccljprotocol

A protocol for encoding/decoding of 'payload' maps, suitable for use with create.

'payload' is a map consisting of :metadata and :data, where :metadata is a map of string/bytes pairs and :data is bytes. The codec may choose to transform or encapsulate the input payload and return a new payload, potentially with different data/metadata.

A protocol for encoding/decoding of 'payload' maps, suitable for use with [[create]].

'payload' is a map consisting of :metadata and :data, where :metadata is a map of string/bytes pairs
and :data is bytes.  The codec may choose to transform or encapsulate the input payload and return
a new payload, potentially with different data/metadata.

decodeclj

(decode this payload)

encodeclj

(encode this payload)
sourceraw docstring

createclj

(create codec)

Creates an instance of a DataConverter that accepts a Codec

Creates an instance of a [DataConverter](https://www.javadoc.io/doc/io.temporal/temporal-sdk/latest/io/temporal/common/converter/DataConverter.html)
that accepts a [[Codec]]
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close