module Shrine::Plugins::Parallelize::InstanceMethods

  1. lib/shrine/plugins/parallelize.rb

Methods

Public Instance

  1. around_delete
  2. around_store

Public Instance methods

around_delete (uploaded_file, context)
[show source]
# File lib/shrine/plugins/parallelize.rb, line 27
def around_delete(uploaded_file, context)
  with_pool { |pool| super(uploaded_file, context.update(thread_pool: pool)) }
end
around_store (io, context)
[show source]
# File lib/shrine/plugins/parallelize.rb, line 23
def around_store(io, context)
  with_pool { |pool| super(io, context.update(thread_pool: pool)) }
end