Version dev
This is a preliminary version of the documentation. Help us to improve it by filling tickets. We are looking for native english speakers to proof read the documentation. Contact us!
module Lwt_timeout:set the default handler for exception occurring after a timeout. The function lauched after a timeout should not raise any exception. That's why the default handler will exit the program.sig..end
type t val set_exn_handler : (exn -> unit) -> unitval create : int -> (unit -> unit) -> tcreate n f defines a new timeout with n seconds duration. f is the function to be called after the timeout. That function must not raise any exception.val start : t -> unitval stop : t -> unitval change : t -> int -> unit