package ocamlformat-rpc

  1. Overview
  2. Docs
type cmd = Command.t
val pid : t -> int
val mk : pid:int -> IO.ic -> IO.oc -> t
val query : cmd -> t -> cmd IO.t
val halt : t -> (unit, [> `Msg of string ]) result IO.t
val format : format_args:Ocamlformat_rpc_lib.format_args -> string -> t -> (string, [> `Msg of string ]) result IO.t