method
share_with
v7.1.3.2 -
Show latest stable
- Class:
ActiveSupport::IsolatedExecutionState
share_with(other)public
No documentation available.
# 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