package async_extra

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

module Conn : T

Signature

type t
type address = Conn.Address.t
type conn = Conn.t
module Event : sig ... end
val connected : t -> conn Async_kernel.Deferred.t
val current_connection : t -> conn option
val close : t -> unit Async_kernel.Deferred.t
val is_closed : t -> bool
val close_finished : t -> unit Async_kernel.Deferred.t
val create : server_name:string -> ?log:Async_unix.Log.t -> ?on_event:(Event.t -> unit Async_kernel.Deferred.t) -> ?retry_delay:(unit -> Core.Time.Span.t) -> connect:(address -> conn Core.Or_error.t Async_kernel.Deferred.t) -> (unit -> address Core.Or_error.t Async_kernel.Deferred.t) -> t
OCaml

Innovation. Community. Security.