Class: Estore::Commands::LiveSubscription
- Inherits:
-
Object
- Object
- Estore::Commands::LiveSubscription
- Includes:
- Command, Subscription
- Defined in:
- lib/estore/commands/subscriptions/live.rb
Instance Attribute Summary
Attributes included from Command
Instance Method Summary collapse
Methods included from Subscription
#call, #close, #enqueue, #initialize, #on_event, #start, #worker_loop
Methods included from Command
#handle, #initialize, #promise, #register!, #reject!, #remove!, #write
Instance Method Details
#event_appeared(response) ⇒ Object
10 11 12 |
# File 'lib/estore/commands/subscriptions/live.rb', line 10 def event_appeared(response) enqueue response.event end |