Skip to content

ReliableDelivery

Defined in: src/delivery/ReliableDelivery.ts:41

Point-to-point at-least-once delivery between a Producer and a Consumer. Messages are assigned monotonic sequence numbers; the consumer Acks back after handling, the producer retries on timeout, and duplicates are silently absorbed on the consumer side.

For work-pulling (multiple consumers, one producer) see the WorkPulling companion (follow-up feature).

new ReliableDelivery(): ReliableDelivery

ReliableDelivery

static consumer<T>(system, settings, name?): ConsumerHandle

Defined in: src/delivery/ReliableDelivery.ts:43

Spawn a ConsumerController — pass the returned ref to a ProducerController.

T

ActorSystem

ConsumerControllerSettings<T>

string

ConsumerHandle


static producer<T>(system, settings, name?): ProducerHandle<T>

Defined in: src/delivery/ReliableDelivery.ts:56

Spawn a ProducerController aimed at settings.consumer.

T

ActorSystem

ProducerControllerSettings<T>

string

ProducerHandle<T>