Closed FlamingTree closed 8 years ago
if PublishAsync return error, I need to know which Command cause error, so it's better expose cmd of struct ProducerTransaction.
The idea is that you can use PublishAsync and pass args, which will be delivered over doneChan - e.g. you can use this to identify the command.
PublishAsync
args
doneChan
if PublishAsync return error, I need to know which Command cause error, so it's better expose cmd of struct ProducerTransaction.