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