MCPcopy
hub / github.com/nats-io/nats.go / QueueSubscribeSync

Method QueueSubscribeSync

js.go:118–118  ·  view source on GitHub ↗

QueueSubscribeSync creates a Subscription with a queue group that can be used to process messages synchronously. See important note in QueueSubscribe()

(subj, queue string, opts ...SubOpt)

Source from the content-addressed store, hash-verified

116 // QueueSubscribeSync creates a Subscription with a queue group that can be used to process messages synchronously.
117 // See important note in QueueSubscribe()
118 QueueSubscribeSync(subj, queue string, opts ...SubOpt) (*Subscription, error)
119
120 // PullSubscribe creates a Subscription that can fetch messages.
121 // See important note in Subscribe(). Additionally, for an ephemeral pull consumer, the "durable" value must be

Calls

no outgoing calls