package nsq

  1. Overview
  2. Docs
type t
val create : ?max_in_flight:int -> ?max_attempts:int -> ?backoff_multiplier:float -> ?error_threshold:int -> ?dial_timeout:Seconds.t -> ?read_timeout:Seconds.t -> ?write_timeout:Seconds.t -> ?lookupd_poll_interval:Seconds.t -> ?lookupd_poll_jitter:float -> ?heartbeat_interval:Seconds.t -> ?max_requeue_delay:Seconds.t -> ?default_requeue_delay:Seconds.t -> ?client_id:string -> ?hostname:string -> ?user_agent:string -> ?output_buffer_size:int -> ?output_buffer_timeout:Seconds.t -> ?sample_rate:int -> unit -> (t, string) result