method

new

rails latest stable - Class: ActionView::CacheExpiry::Executor

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

new(watcher:)
public

No documentation available.

# File actionview/lib/action_view/cache_expiry.rb, line 6
      def initialize(watcher))
        @execution_lock = Concurrent::ReentrantReadWriteLock.new
        @cache_expiry = ViewModificationWatcher.new(watcher: watcher) do
          clear_cache
        end
      end