Method: GraphQL::Execution::Lazy::LazyMethodMap::ConcurrentishMap#initialize_copy

Defined in:
lib/graphql/execution/lazy/lazy_method_map.rb

#initialize_copy(other) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



82
83
84
85
# File 'lib/graphql/execution/lazy/lazy_method_map.rb', line 82

def initialize_copy(other)
  @semaphore = Mutex.new
  @storage = other.copy_storage
end