method

share_with

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: IsolatedExecutionState
share_with(other) public

No documentation

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

Hide source
# File activesupport/lib/active_support/isolated_execution_state.rb, line 61
      def share_with(other)
        # Action Controller streaming spawns a new thread and copy thread locals.
        # We do the same here for backward compatibility, but this is very much a hack
        # and streaming should be rethought.
        context.active_support_execution_state = other.active_support_execution_state.dup
      end
Register or log in to add new notes.