package hack_parallel

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

Module SchedulerSource

Copyright (c) 2016-present, Facebook, Inc. Modified work Copyright (c) 2018-2019 Rijnard van Tonder This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.

Sourcetype t
Sourceval create : ?number_of_workers:int -> ?bucket_multiplier:int -> unit -> t
Sourceval map_reduce : t -> ?bucket_size:int -> init:'a -> map:('a -> 'b list -> 'c) -> reduce:('c -> 'a -> 'a) -> 'b list -> 'a
Sourceval iter : t -> f:('a list -> unit) -> 'a list -> unit
Sourceval single_job : t -> f:('a -> 'b) -> 'a -> 'b
Sourceval mock : unit -> t
Sourceval destroy : t -> unit
OCaml

Innovation. Community. Security.