Parameter Make.1-Conn
module Address : sig ... endinclude Persistent_connection_kernel__.Persistent_connection_kernel_intf.Closable with type t := t
val close : t -> unit Async_kernel.Deferred.tclose tcloses the connection. The returned deferred becomes determined once any resources needed to maintain the connection have been released.
val is_closed : t -> boolis_closed treturns true ifclosehas ever been called (even if the returned deferred has not yet been fulfilled).Note that some modules implementing
Closablemay call close internally upon noticing that the connection was closed by the other side. The interface of such a module ought to say that this is the case.
val close_finished : t -> unit Async_kernel.Deferred.tclose_finished tbecomes determined at the same time as the result of the first call toclose.close_finisheddiffers fromclosein that it does not have the side effect of initiating a close.