MCPcopy Create free account
hub / github.com/assembla/cony / Exclusive

Function Exclusive

consumer.go:143–147  ·  view source on GitHub ↗

Exclusive set this consumer in exclusive mode

()

Source from the content-addressed store, hash-verified

141
142// Exclusive set this consumer in exclusive mode
143func Exclusive() ConsumerOpt {
144 return func(c *Consumer) {
145 c.exclusive = true
146 }
147}
148
149// NoLocal set this consumer in NoLocal mode.
150func NoLocal() ConsumerOpt {

Callers 1

TestExclusiveFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestExclusiveFunction · 0.68