vibe.d beta banner
get vibe.d
0.10.1

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

Function EventDriverTimers.isValid

Determines whether the given timer handle is valid.

abstract bool isValid (
  TimerID handle
) nothrow @nogc @safe const;

A handle that is invalid will result in no operations being carried out when used. In particular addRef/releaseRef will have no effect, but can safely be called.

A valid handle gets invalid when the reference count drops to zero.

Authors
Copyright
License