amqp icon indicating copy to clipboard operation
amqp copied to clipboard

Documentation contradiction in regards to flow

Open wagslane opened this issue 3 years ago • 0 comments

// Listeners for active=true flow control.  When true is sent to a listener,
// publishing should pause until false is sent to listeners.
flows []chan bool
NotifyFlow registers a listener for basic.flow methods sent by the server.
When `false` is sent on one of the listener channels, all publishers should
pause until a `true` is sent.

One claims that true means that clients should pause. The other says clients should pause when false is sent. Which is it?

wagslane avatar May 10 '22 16:05 wagslane