wseDelivery function

WseDelivery wseDelivery(
  1. String consumer, {
  2. String? schema,
  3. String? realm,
  4. String? checkpoint,
  5. int maxHeld = 0,
})

The recover-or-resync delivery: a topic that is not continuous (a cold start, every reconnect, a break) holds its messages until the application brought its state up to date (a resync item, then WseClient.resynced); consumer is the one that commits, by a stable name. A checkpoint of another realm (default: the URL), user, consumer or schema is refused.

Implementation

rust.WseDelivery wseDelivery(
  String consumer, {
  String? schema,
  String? realm,
  String? checkpoint,
  int maxHeld = 0,
}) => rust.WseDelivery(
  consumer: consumer,
  schema: schema,
  realm: realm,
  checkpoint: checkpoint,
  maxHeld: maxHeld,
);