instance method mirrors_needing_mirroring

Ruby on Rails edge

Since edge Private — implementation detail, not part of the public API

Signature

mirrors_needing_mirroring(key)

No documentation comment.

Parameters

key req
Source
# File activestorage/lib/active_storage/service/mirror_service.rb, line 88
      def mirrors_needing_mirroring(key)
        tasks = mirrors.map do |service|
          [ service, Concurrent::Promise.execute(executor: @executor) { service.exist?(key) } ]
        end
        tasks.reject { |_, promise| promise.value! }.map(&:first)
      end

Defined in activestorage/lib/active_storage/service/mirror_service.rb line 88 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveStorage::Service::MirrorService

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close