Class: Pubsubstub::StreamAction
- Includes:
- Logging
- Defined in:
- lib/pubsubstub/stream_action.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize ⇒ StreamAction
constructor
A new instance of StreamAction.
Methods included from Logging
Constructor Details
#initialize ⇒ StreamAction
Returns a new instance of StreamAction.
5 6 7 8 9 |
# File 'lib/pubsubstub/stream_action.rb', line 5 def initialize(*) super @subscriptions = Set.new @mutex = Mutex.new end |
Instance Method Details
#call ⇒ Object
26 27 28 29 |
# File 'lib/pubsubstub/stream_action.rb', line 26 def call(*) spawn_helper_threads super end |