Methods for managing codecs between a client and the Temporal backend
Methods for managing codecs between a client and the Temporal backend
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.
(decode this payload)
(encode this payload)
(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]]
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close