Class: Plushie::Event::Stream
- Inherits:
-
Data
- Object
- Data
- Plushie::Event::Stream
- Defined in:
- lib/plushie/event.rb
Overview
Stream command chunk events. Triggered for each value emitted by a Command.stream source.
Instance Attribute Summary collapse
-
#tag ⇒ Object
readonly
Returns the value of attribute tag.
-
#tag [Symbol] the tag specified in Command.stream([Symbol]) ⇒ Object
readonly
Stream command chunk events.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
-
#value [Object] the emitted chunk value([Object]) ⇒ Object
readonly
Stream command chunk events.
Instance Attribute Details
#tag ⇒ Object (readonly)
Returns the value of attribute tag
311 312 313 |
# File 'lib/plushie/event.rb', line 311 def tag @tag end |
#tag [Symbol] the tag specified in Command.stream([Symbol]) ⇒ Object (readonly)
Stream command chunk events. Triggered for each value emitted by a Command.stream source.
311 |
# File 'lib/plushie/event.rb', line 311 Stream = Data.define(:tag, :value) |
#value ⇒ Object (readonly)
Returns the value of attribute value
311 312 313 |
# File 'lib/plushie/event.rb', line 311 def value @value end |
#value [Object] the emitted chunk value([Object]) ⇒ Object (readonly)
Stream command chunk events. Triggered for each value emitted by a Command.stream source.
311 |
# File 'lib/plushie/event.rb', line 311 Stream = Data.define(:tag, :value) |