Settings

Theme

Async Ruby on Rails

thoughtbot.com

2 points by nf3 2 years ago · 1 comment

Reader

Alifatisk 2 years ago

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

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection