class ActiveRecord::AsynchronousQueriesTracker
Experimental RBS support (using type sampling data from the type_fusion
project).
# sig/active_record/asynchronous_queries_tracker.rbs class ActiveRecord::AsynchronousQueriesTracker def complete: (ActiveRecord::AsynchronousQueriesTracker asynchronous_queries_tracker) -> Module def finalize_session: () -> Module def initialize: () -> void def run: () -> ActiveRecord::AsynchronousQueriesTracker def start_session: () -> ActiveRecord::AsynchronousQueriesTracker end
:nodoc:
def complete(asynchronous_queries_tracker)
Experimental RBS support (using type sampling data from the type_fusion
project).
def complete: (ActiveRecord::AsynchronousQueriesTracker asynchronous_queries_tracker) -> Module
This signature was generated using 13 samples from 1 application.
def complete(asynchronous_queries_tracker) asynchronous_queries_tracker.finalize_session end
def finalize_session
Experimental RBS support (using type sampling data from the type_fusion
project).
def finalize_session: () -> Module
This signature was generated using 12 samples from 1 application.
def finalize_session @current_session.finalize @current_session = NullSession end
def initialize
Experimental RBS support (using type sampling data from the type_fusion
project).
def initialize: () -> void
This signature was generated using 2 samples from 1 application.
def initialize @current_session = NullSession end
def install_executor_hooks(executor = ActiveSupport::Executor)
def install_executor_hooks(executor = ActiveSupport::Executor) executor.register_hook(self) end
def run
Experimental RBS support (using type sampling data from the type_fusion
project).
def run: () -> ActiveRecord::AsynchronousQueriesTracker
This signature was generated using 11 samples from 2 applications.
def run ActiveRecord::Base.asynchronous_queries_tracker.start_session end
def start_session
Experimental RBS support (using type sampling data from the type_fusion
project).
def start_session: () -> ActiveRecord::AsynchronousQueriesTracker
This signature was generated using 9 samples from 1 application.
def start_session @current_session = Session.new self end