vibe.d beta banner
get vibe.d
0.7.30

Struct Timer

Represents a timer.

Properties

Name Type Description
id [get] ulong The internal ID of the timer.
pending [get] bool True if the timer is yet to fire.

Methods

Name Description
opCast
rearm Resets the timer to the specified timeout
stop Resets the timer and avoids any firing.
wait Waits until the timer fires.
Authors

Sönke Ludwig

Copyright

© 2012-2016 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.