method

each_chunk

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: Buffer
each_chunk(&block) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/metal/live.rb, line 217
        def each_chunk(&block)
          loop do
            str = nil
            ActiveSupport::Dependencies.interlock.permit_concurrent_loads do
              str = @buf.pop
            end
            break unless str
            yield str
          end
        end
Register or log in to add new notes.