package rpc_parallel

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

Describes everything needed for Rpc_parallel to launch a worker.

val local : t

A local worker needs no special information. Rpc_parallel runs the same executable that the master is using.

val remote : _ Remote_executable.t -> t

In order to run a worker remotely, you must ensure that the executable is available on the remote host.

val wrap : t -> f:(Prog_and_args.t -> Prog_and_args.t) -> t

wrap allows you to customize how the executable is launched. For example, you can run the worker via some wrapper command.

val run : t -> env:(string * string) list -> worker_command_args:string list -> Async.Process.t Core.Or_error.t Async.Deferred.t
OCaml

Innovation. Community. Security.