Class: Winloop::Scheduler::Timer
- Inherits:
-
Struct
- Object
- Struct
- Winloop::Scheduler::Timer
- Defined in:
- lib/winloop/scheduler.rb
Overview
A timer heap node. ‘value` is what the fiber is resumed with when it fires; `raise_exc` (for Timeout.timeout) makes it raise into the fiber instead.
Instance Attribute Summary collapse
-
#deadline ⇒ Object
Returns the value of attribute deadline.
-
#raise_exc ⇒ Object
Returns the value of attribute raise_exc.
-
#value ⇒ Object
Returns the value of attribute value.
-
#waiter ⇒ Object
Returns the value of attribute waiter.
Instance Attribute Details
#deadline ⇒ Object
Returns the value of attribute deadline
40 41 42 |
# File 'lib/winloop/scheduler.rb', line 40 def deadline @deadline end |
#raise_exc ⇒ Object
Returns the value of attribute raise_exc
40 41 42 |
# File 'lib/winloop/scheduler.rb', line 40 def raise_exc @raise_exc end |
#value ⇒ Object
Returns the value of attribute value
40 41 42 |
# File 'lib/winloop/scheduler.rb', line 40 def value @value end |
#waiter ⇒ Object
Returns the value of attribute waiter
40 41 42 |
# File 'lib/winloop/scheduler.rb', line 40 def waiter @waiter end |