async-redis icon indicating copy to clipboard operation
async-redis copied to clipboard

Context::Pipeline#collect requires useless block

Open orlando-labs opened this issue 3 years ago • 1 comments

Hi, I found out Context::Pipeline#collect requires block: https://github.com/socketry/async-redis/blob/da5a38cef1b84463f9374bab076006b88fa9a811/lib/async/redis/context/pipeline.rb#L93

What's the purpose of this yield? It does nothing but just the block execution.

orlando-labs avatar Jan 20 '22 11:01 orlando-labs

Derp, that seems like a bug.

ioquatix avatar Jan 20 '22 12:01 ioquatix