Method: Rails::GraphQL::Request::Strategy#clear

Defined in:
lib/rails/graphql/request/strategy.rb

#clearObject

Clear all strategy information



45
46
47
48
49
# File 'lib/rails/graphql/request/strategy.rb', line 45

def clear
  @listeners.clear
  @objects_pool.clear
  @stage = @context = @objects_pool = @data_pool = @listeners = nil
end