Util_lwt
type 'a of_yaml := Yaml.value -> ('a, result_msg) Stdlib.result
module Watch : sig ... end
val fprintf : ?flush:bool -> Lwt_fmt.formatter -> 'a fmt
val printf : ?flush:bool -> 'a fmt
val warn : ?flush:bool -> 'a fmt
val warn' : 'a fmt
val info : ?flush:bool -> 'a fmt
val info' : 'a fmt
val command_handler :
?onerror:(unit -> unit Lwt.t) ->
('a command * ('a -> unit Lwt.t)) list ->
string ->
'a ->
unit Lwt.t
val start_key_thread :
?onerror:(unit -> unit Lwt.t) ->
(char command * (char -> unit Lwt.t)) list ->
'a Lwt.t
Note that if `f` itself fails, that failure will be the resultant failure of the original promise.
Note that if `f` itself fails, that failure will be the resultant failure of the original promise.
Usage: `let prf fmt = Util_lwt.mk_prf "some string" fmt`
val mk_prf : ?prepend:string -> ?append:string -> string -> 'a fmt
Usage: `let prf fmt = Util_lwt.mk_prf "some string" fmt`
val aggregator : aggregator -> (unit -> unit Lwt.t) list -> unit Lwt.t
val aggregator_of_yaml : aggregator of_yaml
val aggregator_to_yaml : aggregator to_yaml
module Infix : sig ... end
module Letsfix : sig ... end