interface ConsumerConfig
implements ConsumerUpdateConfig
import { type ConsumerConfig } from "https://deno.land/x/natsws@v1.29.0/src/mod.ts";
Properties
A unique name for a durable consumer Set name - for ephemeral consumers, also set idle_heartbeat
For push consumers this will regularly send an empty mess with Status header 100 and a reply subject, consumers must reply to these messages to control the rate of message delivery.
optional
idle_heartbeat: NanosIf the Consumer is idle for more than this many nanoseconds an empty message with Status header 100 will be sent indicating the consumer is still alive