Remove the unused bundle variable
[hiphop-php.git] / hphp / hack / src / remote / jobRunner_sig.ml
blob4f0fa7d2b11fd6fa24117561ce6e84642f03e600
1 (*
2 * Copyright (c) Facebook, Inc. and its affiliates.
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the "hack" directory of this source tree.
7 *)
9 open Core_kernel
11 module Types = struct
12 type job_id = int [@@deriving show, eq]
13 end
15 module type S = sig
16 include module type of Types
18 type command
20 type status [@@deriving show]
22 val create_command :
23 key:string ->
24 hash:string ->
25 check_id:string ->
26 transport_channel:string option ->
27 file_system_mode:string ->
28 defer_class_declaration_threshold:int ->
29 root:string ->
30 min_log_level:Hh_logger.Level.t ->
31 version_specifier:string option ->
32 eden:bool ->
33 command
35 val is_alive : status -> bool
37 val begin_cancel : job_id -> (status, string) result Future.t
39 val begin_heartbeat : job_id -> (status, string) result Future.t
41 val begin_run :
42 command:command -> root:string -> (job_id, string) result Future.t
44 val run : command:command -> root:string -> (job_id, string) result
45 end