package octez-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
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 = 'a Msg.step
type 'a request = 'a Msg.request
type 'a reply = 'a Msg.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.