package nsq

  1. Overview
  2. Docs

Module Nsq.ProducerSource

Sourcetype t
Sourceval create : ?pool_size:int -> Address.t -> (t, string) result
Sourceval publish : t -> Topic.t -> bytes -> (unit, string) result Lwt.t
Sourceval publish_multi : t -> Topic.t -> bytes list -> (unit, string) result Lwt.t