package lwt-parallel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Typesafe multiprocessing.

val init : unit -> unit

init () should be called as soon as possible

Simple interface
val run : ('a -> 'b Lwt.t) -> 'a -> 'b Lwt.t

run f runs f in different process.

Expert interface
type ('a, 'b) pipe = 'a Lwt_stream.t * ('b option -> unit)

Type safe pipe, with 'a read end and 'b write end

val process : (('a, 'b) pipe -> unit Lwt.t) -> ('b, 'a) pipe

create process executes function process in other process.

OCaml

Innovation. Community. Security.