package octez-libs

  1. Overview
  2. Docs
include Distributed.Message_type with type t = bytes
type t = bytes

Abstract type representing the messages that will be sent between processes.

val string_of_message : t -> string

string_of_message msg returns the string representation of msg.

type 'a step
type 'step request
type 'step reply
val request_step : 'step request -> 'step step
val of_request : 'a request -> t
val of_reply : 'a reply -> t
val to_request : 'step step -> t -> 'step request option
val to_reply : 'step step -> t -> 'step reply option
val index : t -> int
OCaml

Innovation. Community. Security.