vibe.d beta banner
get vibe.d
0.7.31

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

Struct Timer

Represents a timer.

struct Timer ;

Properties

Properties

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

Methods

Methods

NameDescription
opCast
rearmResets the timer to the specified timeout
stopResets the timer and avoids any firing.
waitWaits 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.