Up

Module Shutdown = Shutdown

Signature

val shutdown : ?force:unit Async_unix.Import.Deferred.t -> int -> unit
val shutdown_on_unhandled_exn : unit -> unit
val exit : ?force:unit Async_unix.Import.Deferred.t -> int -> 'a Async_unix.Import.Deferred.t
val set_default_force : (unit -> unit Async_unix.Import.Deferred.t) -> unit
val shutting_down : unit -> [
| `No
| `Yes of int
]
val at_shutdown : (unit -> unit Async_unix.Import.Deferred.t) -> unit
val don't_finish_before : unit Async_unix.Import.Deferred.t -> unit
val deprecated_shutdown_and_raise : ?force:unit Async.Std.Deferred.t -> int -> Core.Std.never_returns