lib/rails/graphql/request/arguments.rb
def scoped(value)
            old_value, Thread.current[THREAD_KEY] = operation, value

            yield
          ensure
            Thread.current[THREAD_KEY] = old_value
          end
# Execute a block inside a scoped thread-safe arguments
Execute a block inside a scoped thread-safe arguments
Execute a block inside a scoped thread - safe arguments
def scoped(value)
            old_value, Thread.current[THREAD_KEY] = operation, value
            yield
          ensure
            Thread.current[THREAD_KEY] = old_value
          end
def scoped ( value ) old_value , Thread . current [ THREAD_KEY ] = operation , value yield ensure Thread . current [ THREAD_KEY ] = old_value end
Execute a block inside a scoped thread-safe arguments
Execute a block inside a scoped thread - safe arguments
value