package mirage-qubes

  1. Overview
  2. Docs

Module RExec.FlowSource

Sourcetype t
Sourceval write : t -> string -> unit Lwt.t

Write to stdout

Sourceval writef : t -> ('a, unit, string, unit Lwt.t) format4 -> 'a

Write a formatted line to stdout.

Sourceval ewrite : t -> string -> unit Lwt.t

Write to stderr

Sourceval ewritef : t -> ('a, unit, string, unit Lwt.t) format4 -> 'a

Write a formatted line to stderr.

Sourceval read : t -> [ `Ok of string | `Eof ] Lwt.t

Read from stdin.

Sourceval read_line : t -> [ `Ok of string | `Eof ] Lwt.t

Read a complete line from stdin.

OCaml

Innovation. Community. Security.