Type Alias BoundPushConsumerOptions

BoundPushConsumerOptions: ConsumeCallback & {
    deliver_group?: string;
    deliver_subject: string;
    idle_heartbeat?: Nanos;
}

For bound push consumers, the client must provide at least the deliver_subject. Note that these values must match the ConsumerConfig exactly

Type declaration

  • Optionaldeliver_group?: string

    The deliver_group as specified in the ConsumerConfig

  • deliver_subject: string

    The deliver_subject as specified in the ConsumerConfig

  • Optionalidle_heartbeat?: Nanos

    The idle_heartbeat in Nanos as specified in the ConsumerConfig. This value starts a client-side timer to detect missing heartbeats. If not specified or values don't match, there will be a skew and the possibility of false heartbeat missed notifications.