SchedulerCopyright (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.
module Daemon = Hack_parallel_intf.Std.Daemonval create : ?number_of_workers:int -> ?bucket_multiplier:int -> unit -> tval map_reduce :
t ->
?bucket_size:int ->
init:'a ->
map:('a -> 'b list -> 'c) ->
reduce:('c -> 'a -> 'a) ->
'b list ->
'aval iter : t -> f:('a list -> unit) -> 'a list -> unitval single_job : t -> f:('a -> 'b) -> 'a -> 'bval mock : unit -> tval destroy : t -> unit