home.social

#pipelined — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #pipelined, aggregated by home.social.

  1. Eg an API for a library that I don't control like:

    redis.pipelined do |pipeline|
    # ...
    end

    `#pipelined` provides a `pipeline` block parameter and I want to leak it to an outer scope (I know I shouldn't but I want to anyway).

    So I want an interface like:
    pipeline = defeat_block(redis.method(:pipelined))

    I can write it myself, but I was hoping there's something nicer.