Abstractions
All definitions make use of the following type parameters:
F[_]
: abstract effectful contextF
encapsulating all values, e.g.IO[Boolean]
BID
: the branch identifier type, requiring an instance ofBinaryCodec
for serialization of the identifier in protobuf messages and events andShow
for the built-in logging.TID
: the transaction identifier type, requiring an instance ofBinaryCodec
for serialization of the identifier in protobuf messages and events andStringCodec
as an entity identifier (this is also used for the built-in logging).Q
: the query type (the payload sent to branches), requiring an instance ofBinaryCodec
for serialization in protobuf messages and events.R
: the abort reason type (provided by branches when voting for transaction abort), requiring an instance ofBinaryCodec
for serialization in protobuf messages and events.
0.3.0