class ActiveSupport::Notifications::Fanout::Subscribers::Timed
Experimental RBS support (using type sampling data from the type_fusion
project).
# sig/active_support/notifications/fanout.rbs class ActiveSupport::Notifications::Fanout::Subscribers::Timed < ActiveSupport::Notifications::Fanout::Subscribers::Evented def finish: (String name, String id, Hash payload) -> untyped def start: (String name, String id, Hash payload) -> untyped end
:nodoc:
def finish(name, id, payload)
Experimental RBS support (using type sampling data from the type_fusion
project).
type ActiveSupport__Notifications__Fanout__Subscribers__Timed_finish_payload = controller | String | action | String | request | ActionDispatch::Request | params | authenticity_token | String | user | email | String | commit | String | controller | String | action | String | headers | ActionDispatch::Http::Headers | format | Symbol | method | String | path | String | response | ActionDispatch::Response | status | Integer | view_runtime | Float | db_runtime | Float | controller | String | action | String | request | ActionDispatch::Request | params | controller | String | action | String | headers | ActionDispatch::Http::Headers | format | Symbol | method | String | path | String | response | ActionDispatch::Response | status | Integer | view_runtime | Float | db_runtime | Integer | controller | String | action | String | request | ActionDispatch::Request | params | controller | String | action | String | linked_connection_invitation_id | String | headers | ActionDispatch::Http::Headers | format | Symbol | method | String | path | String | response | ActionDispatch::Response | status | Integer | view_runtime | Float | db_runtime | Float | sql | String | name | String | binds | ActiveModel::Attribute::WithCastValue | type_casted_binds | Integer | statement_name | String | async | FalseClass | connection | ActiveRecord::ConnectionAdapters::PostgreSQLAdapter | sql | String | name | String | binds | | type_casted_binds | | statement_name | String | async | FalseClass | connection | ActiveRecord::ConnectionAdapters::PostgreSQLAdapter def finish: (String name, String id, ActiveSupport__Notifications__Fanout__Subscribers__Timed_finish_payload payload) -> untyped
This signature was generated using 7 samples from 1 application.
def finish(name, id, payload) timestack = IsolatedExecutionState[:_timestack] started = timestack.pop @delegate.call(name, started, Time.now, id, payload) end
def publish(name, *args)
def publish(name, *args) @delegate.call name, *args end
def start(name, id, payload)
Experimental RBS support (using type sampling data from the type_fusion
project).
def start: (String name, String id, (controller | String | action | String | request | ActionDispatch::Request | params | authenticity_token | String | api_token | String | commit | String | controller | String | action | String | headers | ActionDispatch::Http::Headers | format | Symbol | method | String | path | String | sql | String | name | String | binds | ActiveRecord::Relation::QueryAttribute | ActiveRecord::Relation::QueryAttribute | ActiveModel::Attribute::WithCastValue | type_casted_binds | String | TrueClass | Integer | statement_name | String | async | FalseClass | connection | ActiveRecord::ConnectionAdapters::PostgreSQLAdapter) payload) -> untyped
This signature was generated using 2 samples from 1 application.
def start(name, id, payload) timestack = IsolatedExecutionState[:_timestack] ||= [] timestack.push Time.now end