package lsp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module In : sig ... end
module Out : sig ... end
val connect : 'a In.t -> 'a Out.t -> unit Fiber.t

connect i o reads from i and writes to o. Closes o when i is exhausted. Returned fiber terminates when i is exhausted

val supply : 'a In.t -> 'a Out.t -> unit Fiber.t

supply i o like connect i o but does not close o once i is exhausted. Returned fiber terminates when i is exhausted

val pipe : unit -> 'a In.t * 'a Out.t
OCaml

Innovation. Community. Security.