package mirage

  1. Overview
  2. Docs
type error = [
  1. | `Invalid_console of string
]
type 'a io = 'a Lwt.t
type t
type id
val id : t -> id
val connect : id -> [ `Error of error | `Ok of t ] io
val disconnect : t -> unit io
val write : t -> string -> int -> int -> int
val write_all : t -> string -> int -> int -> unit io
val log : t -> string -> unit
val log_s : t -> string -> unit io