123456789_123456789_123456789_123456789_123456789_

Module: ActionCable::Channel::PeriodicTimers

Relationships & Source Files
Namespace Children
Modules:
Extension / Inclusion / Inheritance Descendants
Included In:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Defined in: actioncable/lib/action_cable/channel/periodic_timers.rb

Class Method Summary

::ActiveSupport::Concern - Extended

class_methods

Define class methods from given block.

included

Evaluate given block in context of base class, so that you can write class macros here.

prepended

Evaluate given block in context of base class, so that you can write class macros here.

DSL Calls

included

[ GitHub ]


8
9
10
11
12
13
# File 'actioncable/lib/action_cable/channel/periodic_timers.rb', line 8

included do
  class_attribute :periodic_timers, instance_reader: false, default: []

  after_subscribe   :start_periodic_timers
  after_unsubscribe :stop_periodic_timers
end