vibe.d beta banner
get vibe.d
0.8.5

Asynchronous I/O that doesn’t get in your way, written in D

Struct Timer

Represents a timer.

struct Timer ;

Properties

NameTypeDescription
id[get] ulongThe internal ID of the timer.
pending[get] boolTrue if the timer is yet to fire.

Methods

NameDescription
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.