Interface Timer
Represents a timer.
Inherits from
Properties
Name | Type | Description |
---|---|---|
pending | bool | True if the timer is yet to fire. |
Methods
Name | Description |
---|---|
rearm | Resets the timer to the specified timeout |
stop | Resets the timer and avoids any firing. |
wait | Waits until the timer fires. |
acquire | Acquires the ownership of an unowned object. |
amOwner | Returns true if the calling fiber owns this object |
release | Releases the ownership of the object. |
Aliases
Name | Description |
---|---|
isOwner | Compatibility alias, will be deprecated soon. |
Authors
Sönke Ludwig
Copyright
© 2012-2013 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.