method
perform_across_services
v8.0.0 -
Show latest stable
- Class:
ActiveStorage::Service::MirrorService
perform_across_services(method, *args)private
No documentation available.
# File activestorage/lib/active_storage/service/mirror_service.rb, line 84
def perform_across_services(method, *args)
tasks = each_service.collect do |service|
Concurrent::Promise.execute(executor: @executor) do
service.public_send method, *args
end
end
tasks.each(&:value!)
end