News for hackers. Stuff that matters.
Re:Async Ruby on Rails by Alifatisk on Saturday June 08, 2024 @07:11AM (#40616815)
Very interesting post, but one question is it really necessary to wrap it in a Sync block? Isn't it synchronous outside the async block?

    Sync do
      5.times.map do
        Async do
          ...
        end
      end.map(&:wait)
    end