Monadic concurrency library
Library async_extra
type t
val t_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> t
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val __bin_read_t__ : ( int -> t ) Core_kernel.Bin_prot.Read.reader
val create : timeout:Core_kernel.Time_ns.Span.t -> send_every:Core_kernel.Time_ns.Span.t -> t

We try to send a heartbeat every send_every. If we don't get a heartbeat for timeout, kill the connection. timeout is checked every time a heartbeat is sent.