It would be preferable to simply report the actual amount channel.read() returns which is exactly what the said consumer is interested in, and avoid the duplicate logic between uitil:fill and the read method but I understand the interface restrictions for the Consumer interface.
A fix for #129 :
It would be preferable to simply report the actual amount
channel.read()
returns which is exactly what the said consumer is interested in, and avoid the duplicate logic betweenuitil:fill
and theread
method but I understand the interface restrictions for theConsumer
interface.