package async_smtp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val with_' : ?give_up:unit Async.Deferred.t -> f: (flows:string list -> Async_smtp__.Client_raw.t -> 'a Async.Deferred.Or_error.t) -> cache:t -> ?route:string -> Core.Host_and_port.t list -> [ `Ok of Core.Host_and_port.t * 'a Core.Or_error.t | `Error_opening_all_addresses of (Core.Host_and_port.t * Core.Error.t) list | `Gave_up_waiting_for_address | `Cache_is_closed ] Async.Deferred.t

with_' concurrently tries to get a cached connection for one of addresses. `Ok and `Error_opening_resource return back the Smtp_socket_address.t that was used.

OCaml

Innovation. Community. Security.