package biocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include Biocaml_unix.Future.S with type 'a Deferred.t = 'a Lwt.t and type 'a Pipe.Reader.t = 'a Lwt_stream.t and type Reader.t = Lwt_io.input_channel and type Writer.t = Lwt_io.output_channel
type how = [
  1. | `Parallel
  2. | `Sequential
  3. | `Max_concurrent_jobs of int
]

`Max_concurrent_jobs supported only for Async implementation. The Lwt implementation treats this the same as `Parallel. Blocking implementation treats all as `Sequential.

module Deferred : sig ... end
val return : 'a -> 'a Deferred.t
val (>>=) : 'a Deferred.t -> ('a -> 'b Deferred.t) -> 'b Deferred.t
val (>>|) : 'a Deferred.t -> ('a -> 'b) -> 'b Deferred.t
val (>>=?) : ('a, 'b) Deferred.Result.t -> ('a -> ('c, 'b) Deferred.Result.t) -> ('c, 'b) Deferred.Result.t
val (>>|?) : ('a, 'b) Deferred.Result.t -> ('a -> 'c) -> ('c, 'b) Deferred.Result.t
val fail : exn -> 'a Deferred.t

Difference from Async: Use fail instead of raise.

val raise : [> `Use_fail_instead ]
val try_with : (unit -> 'a Deferred.t) -> ('a, exn) Core_kernel.Result.t Deferred.t

Async supports several extra parameters to this function, which we do not currently support.

module In_thread : sig ... end
module Pipe : sig ... end
module Reader : sig ... end
module Writer : sig ... end
OCaml

Innovation. Community. Security.