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.
12 type job_id
= int [@@deriving show
, eq
]
16 include module type of Types
20 type status
[@@deriving show
]
26 transport_channel
:string option ->
27 file_system_mode
:string ->
28 defer_class_declaration_threshold
:int ->
30 min_log_level
:Hh_logger.Level.t
->
31 version_specifier
:string option ->
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
42 command
:command
-> root
:string -> (job_id
, string) result
Future.t
44 val run
: command
:command
-> root
:string -> (job_id
, string) result