Class: Plushie::Event::Timer
- Inherits:
-
Data
- Object
- Data
- Plushie::Event::Timer
- Defined in:
- lib/plushie/event.rb
Overview
Timer events from interval subscriptions. Triggered periodically by Subscription.every at the specified interval.
Instance Attribute Summary collapse
-
#tag ⇒ Object
readonly
Returns the value of attribute tag.
-
#tag [Symbol] the tag specified in Subscription.every([Symbol]) ⇒ Object
readonly
Timer events from interval subscriptions.
-
#timestamp ⇒ Object
readonly
Returns the value of attribute timestamp.
-
#timestamp [Integer] monotonic timestamp in milliseconds([Integer]) ⇒ Object
readonly
Timer events from interval subscriptions.
Instance Attribute Details
#tag ⇒ Object (readonly)
Returns the value of attribute tag
342 343 344 |
# File 'lib/plushie/event.rb', line 342 def tag @tag end |
#tag [Symbol] the tag specified in Subscription.every([Symbol]) ⇒ Object (readonly)
Timer events from interval subscriptions. Triggered periodically by Subscription.every at the specified interval.
342 |
# File 'lib/plushie/event.rb', line 342 Timer = Data.define(:tag, :timestamp) |
#timestamp ⇒ Object (readonly)
Returns the value of attribute timestamp
342 343 344 |
# File 'lib/plushie/event.rb', line 342 def @timestamp end |
#timestamp [Integer] monotonic timestamp in milliseconds([Integer]) ⇒ Object (readonly)
Timer events from interval subscriptions. Triggered periodically by Subscription.every at the specified interval.
342 |
# File 'lib/plushie/event.rb', line 342 Timer = Data.define(:tag, :timestamp) |